	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intf_find_seq
_intf_find_seq:                         ## @intf_find_seq
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	xorl	%r12d, %r12d
	movq	_IPMI_IPMB_NUM_SEQ@GOTPCREL(%rip), %rax
	cmpb	%bl, (%rax)
	jbe	LBB0_1
## %bb.2:
	movl	%ecx, %r13d
	movl	%edx, %r15d
	movq	%rdi, %r14
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	callq	_spin_lock_irqsave
	movq	8(%r14), %rax
	movzbl	%bl, %ebx
	shlq	$4, %rbx
	cmpq	$0, (%rax,%rbx)
	je	LBB0_8
## %bb.3:
	movq	8(%rax,%rbx), %rsi
	cmpw	%r15w, (%rsi)
	jne	LBB0_8
## %bb.4:
	cmpb	%r13b, 2(%rsi)
	jne	LBB0_8
## %bb.5:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpb	%al, 3(%rsi)
	jne	LBB0_8
## %bb.6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rsi, %r15
	callq	_ipmi_addr_equal
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	16(%rbp), %rax
	movq	%r15, (%rax)
	movq	8(%r14), %rax
	movq	$0, (%rax,%rbx)
	xorl	%r12d, %r12d
LBB0_8:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_9
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
LBB0_9:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_IPMI_IPMB_NUM_SEQ,1,0          ## @IPMI_IPMB_NUM_SEQ
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_intf_find_seq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intf_find_seq
_intf_find_seq:                         ; @intf_find_seq
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _IPMI_IPMB_NUM_SEQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPMI_IPMB_NUM_SEQ@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w1
	b.ls	LBB0_8
; %bb.1:
	mov	x21, x6
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x26, x1
	mov	x19, x0
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w20, w8
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #8]
	mov	w9, w26
	lsl	x27, x9, #4
	ldr	x10, [x8, x27]
	cbz	x10, LBB0_7
; %bb.2:
	add	x8, x8, x9, lsl #4
	ldr	x26, [x8, #8]
	ldrh	w8, [x26]
	cmp	w8, w25, uxth
	b.ne	LBB0_7
; %bb.3:
	ldrb	w8, [x26, #2]
	cmp	w8, w24
	b.ne	LBB0_7
; %bb.4:
	ldrb	w8, [x26, #3]
	cmp	w8, w23
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x22
	mov	x1, x26
	bl	_ipmi_addr_equal
	cbz	x0, LBB0_7
; %bb.6:
	mov	w20, #0
	str	x26, [x21]
	ldr	x8, [x19, #8]
	str	xzr, [x8, x27]
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_IPMI_IPMB_NUM_SEQ,1,0          ; @IPMI_IPMB_NUM_SEQ
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_intf_find_seq
.subsections_via_symbols
