	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __smi_handle_dr_smp_send
___smi_handle_dr_smp_send:              ## @__smi_handle_dr_smp_send
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IB_SMP_MAX_PATH_HOPS@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jbe	LBB0_23
## %bb.1:
	cmpq	$0, 16(%rbp)
	movq	(%rdx), %r10
	je	LBB0_5
## %bb.2:
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.3:
	leaq	1(%rcx), %rax
	cmpq	%rax, %r10
	je	LBB0_4
LBB0_9:
	cmpq	$2, %r10
	jb	LBB0_17
## %bb.10:
	cmpq	%rcx, %r10
	ja	LBB0_17
## %bb.11:
	testl	%edi, %edi
	je	LBB0_23
LBB0_4:
	leaq	-1(%r10), %rax
	movq	%rax, (%rdx)
	movslq	%esi, %rax
	cmpq	%rax, -8(%r9,%r10,8)
	je	LBB0_8
	jmp	LBB0_23
LBB0_5:
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.6:
	testq	%r10, %r10
	jne	LBB0_13
## %bb.7:
	movq	$1, (%rdx)
	movslq	%esi, %rax
	cmpq	%rax, 8(%r8)
	jne	LBB0_23
	jmp	LBB0_8
LBB0_13:
	testq	%r10, %r10
	je	LBB0_20
## %bb.14:
	cmpq	%rcx, %r10
	jae	LBB0_20
## %bb.15:
	testl	%edi, %edi
	je	LBB0_23
## %bb.16:
	leaq	1(%r10), %rcx
	movq	%rcx, (%rdx)
	movslq	%esi, %rcx
	cmpq	%rcx, 8(%r8,%r10,8)
	je	LBB0_8
	jmp	LBB0_23
LBB0_17:
	testq	%r10, %r10
	je	LBB0_8
## %bb.18:
	cmpq	$1, %r10
	jne	LBB0_23
## %bb.19:
	movl	32(%rbp), %eax
	movq	$0, (%rdx)
	orl	%edi, %eax
	jne	LBB0_8
LBB0_23:
	movq	_IB_SMI_DISCARD@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_20:
	leaq	1(%rcx), %rsi
	cmpq	%rcx, %r10
	jne	LBB0_22
## %bb.21:
	movl	24(%rbp), %eax
	movq	%rsi, (%rdx)
	orl	%edi, %eax
	je	LBB0_23
LBB0_8:
	movq	_IB_SMI_HANDLE@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_22:
	cmpq	%rsi, %r10
	je	LBB0_8
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_SMP_MAX_PATH_HOPS,8,3       ## @IB_SMP_MAX_PATH_HOPS
	.comm	_IB_SMI_DISCARD,4,2             ## @IB_SMI_DISCARD
	.comm	_IB_SMI_HANDLE,4,2              ## @IB_SMI_HANDLE
	.no_dead_strip	___smi_handle_dr_smp_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __smi_handle_dr_smp_send
___smi_handle_dr_smp_send:              ; @__smi_handle_dr_smp_send
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IB_SMP_MAX_PATH_HOPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_SMP_MAX_PATH_HOPS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x3
	b.ls	LBB0_18
; %bb.1:
	ldr	x8, [x2]
	cbz	x6, LBB0_8
; %bb.2:
	cbz	x3, LBB0_4
; %bb.3:
	add	x9, x3, #1
	cmp	x8, x9
	b.eq	LBB0_16
LBB0_4:
	cmp	x8, #2
	ccmp	x8, x3, #2, hs
	b.ls	LBB0_15
; %bb.5:
	cbz	x8, LBB0_21
; %bb.6:
	cmp	x8, #1
	b.ne	LBB0_18
; %bb.7:
	ldr	w8, [sp]
	str	xzr, [x2]
Lloh3:
	adrp	x9, _IB_SMI_HANDLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_SMI_HANDLE@GOTPAGEOFF]
	orr	w8, w8, w0
Lloh5:
	adrp	x10, _IB_SMI_DISCARD@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IB_SMI_DISCARD@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ret
LBB0_8:
	cbz	x3, LBB0_11
; %bb.9:
	cbnz	x8, LBB0_11
; %bb.10:
	mov	w8, #1
	str	x8, [x2]
Lloh7:
	adrp	x8, _IB_SMI_HANDLE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IB_SMI_HANDLE@GOTPAGEOFF]
	ldr	x9, [x4, #8]
Lloh9:
	adrp	x10, _IB_SMI_DISCARD@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IB_SMI_DISCARD@GOTPAGEOFF]
	cmp	x9, w1, sxtw
	csel	x8, x8, x10, eq
	ldr	w0, [x8]
	ret
LBB0_11:
	cbz	x8, LBB0_19
; %bb.12:
	cmp	x8, x3
	b.hs	LBB0_19
; %bb.13:
	cbz	w0, LBB0_18
; %bb.14:
	add	x8, x8, #1
	str	x8, [x2]
	ldr	x8, [x4, x8, lsl #3]
	b	LBB0_17
LBB0_15:
	cbz	w0, LBB0_18
LBB0_16:
	sub	x8, x8, #1
	str	x8, [x2]
	ldr	x8, [x5, x8, lsl #3]
LBB0_17:
Lloh11:
	adrp	x9, _IB_SMI_HANDLE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IB_SMI_HANDLE@GOTPAGEOFF]
Lloh13:
	adrp	x10, _IB_SMI_DISCARD@GOTPAGE
Lloh14:
	ldr	x10, [x10, _IB_SMI_DISCARD@GOTPAGEOFF]
	cmp	x8, w1, sxtw
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ret
LBB0_18:
Lloh15:
	adrp	x8, _IB_SMI_DISCARD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IB_SMI_DISCARD@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ret
LBB0_19:
	add	x9, x3, #1
	cmp	x8, x3
	b.ne	LBB0_22
; %bb.20:
	str	x9, [x2]
Lloh18:
	adrp	x8, _IB_SMI_HANDLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IB_SMI_HANDLE@GOTPAGEOFF]
	orr	w9, w7, w0
Lloh20:
	adrp	x10, _IB_SMI_DISCARD@GOTPAGE
Lloh21:
	ldr	x10, [x10, _IB_SMI_DISCARD@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x10, x8, eq
	ldr	w0, [x8]
	ret
LBB0_21:
Lloh22:
	adrp	x8, _IB_SMI_HANDLE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IB_SMI_HANDLE@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ret
LBB0_22:
Lloh25:
	adrp	x10, _IB_SMI_HANDLE@GOTPAGE
Lloh26:
	ldr	x10, [x10, _IB_SMI_HANDLE@GOTPAGEOFF]
Lloh27:
	adrp	x11, _IB_SMI_DISCARD@GOTPAGE
Lloh28:
	ldr	x11, [x11, _IB_SMI_DISCARD@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_SMP_MAX_PATH_HOPS,8,3       ; @IB_SMP_MAX_PATH_HOPS
	.comm	_IB_SMI_DISCARD,4,2             ; @IB_SMI_DISCARD
	.comm	_IB_SMI_HANDLE,4,2              ; @IB_SMI_HANDLE
	.no_dead_strip	___smi_handle_dr_smp_send
.subsections_via_symbols
