	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function smp_set_status_via
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_smp_set_status_via
	.p2align	4, 0x90
_smp_set_status_via:                    ## @smp_set_status_via
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r13d
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, -60(%rbp)
	movups	%xmm0, -76(%rbp)
	movl	$0, -44(%rbp)
	movq	%rsi, %rdi
	callq	_portid2str
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_DEBUG
	movq	_IB_SMI_DIRECT_CLASS@GOTPCREL(%rip), %rax
	cmpq	$0, (%rbx)
	jle	LBB0_5
## %bb.1:
	cmpl	$65535, 24(%rbx)                ## imm = 0xFFFF
	je	LBB0_5
## %bb.2:
	cmpl	$65535, 28(%rbx)                ## imm = 0xFFFF
	jne	LBB0_3
## %bb.4:
	movq	_IB_SMI_DIRECT_CLASS@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_IB_SMI_CLASS@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_IB_MAD_METHOD_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	%r14d, -60(%rbp)
	movl	%r12d, -56(%rbp)
	movl	%r13d, -80(%rbp)
	movq	_IB_SMP_DATA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_IB_SMP_DATA_OFFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	16(%rbp), %rdi
	movl	(%rdi), %eax
	movl	%eax, -72(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	leaq	-80(%rbp), %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r15, %r8
	callq	_mad_rpc
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:
	movl	-76(%rbp), %ecx
	movl	%ecx, (%rdx)
LBB0_7:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attr 0x%x mod 0x%x route %s"

	.comm	_IB_SMI_DIRECT_CLASS,4,2        ## @IB_SMI_DIRECT_CLASS
	.comm	_IB_SMI_CLASS,4,2               ## @IB_SMI_CLASS
	.comm	_IB_MAD_METHOD_SET,4,2          ## @IB_MAD_METHOD_SET
	.comm	_IB_SMP_DATA_SIZE,4,2           ## @IB_SMP_DATA_SIZE
	.comm	_IB_SMP_DATA_OFFS,4,2           ## @IB_SMP_DATA_OFFS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smp_set_status_via             ; -- Begin function smp_set_status_via
	.p2align	2
_smp_set_status_via:                    ; @smp_set_status_via
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x6
	mov	x19, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x22, x1
	mov	x21, x0
	str	wzr, [sp, #44]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #28]
	stur	q0, [sp, #12]
	mov	x0, x1
	bl	_portid2str
	mov	x3, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x25
	mov	x2, x24
	bl	_DEBUG
	ldr	x8, [x22]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	w10, [x22, #24]
Lloh2:
	adrp	x8, _IB_SMI_DIRECT_CLASS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IB_SMI_DIRECT_CLASS@GOTPAGEOFF]
	mov	w9, #65535
	cmp	w10, w9
	b.eq	LBB0_4
; %bb.2:
	ldr	w10, [x22, #28]
Lloh4:
	adrp	x11, _IB_SMI_CLASS@GOTPAGE
Lloh5:
	ldr	x11, [x11, _IB_SMI_CLASS@GOTPAGEOFF]
	cmp	w10, w9
	csel	x8, x8, x11, eq
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _IB_SMI_DIRECT_CLASS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_SMI_DIRECT_CLASS@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _IB_MAD_METHOD_SET@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IB_MAD_METHOD_SET@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #36]
Lloh11:
	adrp	x8, _IB_SMP_DATA_SIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IB_SMP_DATA_SIZE@GOTPAGEOFF]
	stp	w25, w24, [sp, #28]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _IB_SMP_DATA_OFFS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IB_SMP_DATA_OFFS@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #20]
	ldr	w8, [x20]
	str	w23, [sp, #8]
	str	w8, [sp, #16]
	stp	xzr, xzr, [x22, #8]
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x22
	mov	x3, x21
	mov	x4, x21
	bl	_mad_rpc
	cbz	x19, LBB0_6
; %bb.5:
	ldr	w8, [sp, #12]
	str	w8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attr 0x%x mod 0x%x route %s"

	.comm	_IB_SMI_DIRECT_CLASS,4,2        ; @IB_SMI_DIRECT_CLASS
	.comm	_IB_SMI_CLASS,4,2               ; @IB_SMI_CLASS
	.comm	_IB_MAD_METHOD_SET,4,2          ; @IB_MAD_METHOD_SET
	.comm	_IB_SMP_DATA_SIZE,4,2           ; @IB_SMP_DATA_SIZE
	.comm	_IB_SMP_DATA_OFFS,4,2           ; @IB_SMP_DATA_OFFS
.subsections_via_symbols
