	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smi_check_forward_dr_smp       ## -- Begin function smi_check_forward_dr_smp
	.p2align	4, 0x90
_smi_check_forward_dr_smp:              ## @smi_check_forward_dr_smp
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %r14d
	movl	4(%rdi), %r15d
	callq	_ib_get_smp_direction
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$2, %r14d
	jl	LBB0_3
## %bb.2:
	cmpl	%r15d, %r14d
	jle	LBB0_8
LBB0_3:
	cmpl	$1, %r14d
	jne	LBB0_14
## %bb.4:
	movq	16(%rbx), %rax
	movq	_IB_LID_PERMISSIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
LBB0_14:
	movq	_IB_SMI_LOCAL@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_6:
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.7:
	cmpl	%r15d, %r14d
	jge	LBB0_9
LBB0_8:
	movq	_IB_SMI_FORWARD@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_9:
	cmpl	%r15d, %r14d
	jne	LBB0_12
## %bb.10:
	movq	8(%rbx), %rax
	movq	_IB_LID_PERMISSIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
LBB0_11:
	movq	_IB_SMI_SEND@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	incl	%r15d
	cmpl	%r15d, %r14d
	je	LBB0_11
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_SMI_FORWARD,4,2             ## @IB_SMI_FORWARD
	.comm	_IB_LID_PERMISSIVE,8,3          ## @IB_LID_PERMISSIVE
	.comm	_IB_SMI_SEND,4,2                ## @IB_SMI_SEND
	.comm	_IB_SMI_LOCAL,4,2               ## @IB_SMI_LOCAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smi_check_forward_dr_smp       ; -- Begin function smi_check_forward_dr_smp
	.p2align	2
_smi_check_forward_dr_smp:              ; @smi_check_forward_dr_smp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldp	w20, w21, [x0]
	bl	_ib_get_smp_direction
	cbz	w0, LBB0_4
; %bb.1:
	cmp	w20, #2
	ccmp	w20, w21, #0, ge
	b.le	LBB0_7
; %bb.2:
	cmp	w20, #1
	b.ne	LBB0_10
; %bb.3:
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x9, _IB_LID_PERMISSIVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_LID_PERMISSIVE@GOTPAGEOFF]
Lloh2:
	adrp	x10, _IB_SMI_SEND@GOTPAGE
Lloh3:
	ldr	x10, [x10, _IB_SMI_SEND@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x11, _IB_SMI_LOCAL@GOTPAGE
Lloh6:
	ldr	x11, [x11, _IB_SMI_LOCAL@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x11, x10, eq
	b	LBB0_11
LBB0_4:
	cmp	w20, #0
	ccmp	w20, w21, #0, ne
	b.lt	LBB0_7
; %bb.5:
	cmp	w20, w21
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
Lloh7:
	adrp	x9, _IB_LID_PERMISSIVE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IB_LID_PERMISSIVE@GOTPAGEOFF]
Lloh9:
	adrp	x10, _IB_SMI_SEND@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IB_SMI_SEND@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x11, _IB_SMI_LOCAL@GOTPAGE
Lloh13:
	ldr	x11, [x11, _IB_SMI_LOCAL@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	b	LBB0_11
LBB0_7:
Lloh14:
	adrp	x8, _IB_SMI_FORWARD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IB_SMI_FORWARD@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
	add	w8, w21, #1
	cmp	w20, w8
	b.ne	LBB0_10
; %bb.9:
Lloh16:
	adrp	x8, _IB_SMI_SEND@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IB_SMI_SEND@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh18:
	adrp	x8, _IB_SMI_LOCAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IB_SMI_LOCAL@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_SMI_FORWARD,4,2             ; @IB_SMI_FORWARD
	.comm	_IB_LID_PERMISSIVE,8,3          ; @IB_LID_PERMISSIVE
	.comm	_IB_SMI_SEND,4,2                ; @IB_SMI_SEND
	.comm	_IB_SMI_LOCAL,4,2               ; @IB_SMI_LOCAL
.subsections_via_symbols
