	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_led_is_mine
_i40e_led_is_mine:                      ## @i40e_led_is_mine
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rax
	movslq	%esi, %rcx
	xorl	%ebx, %ebx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_I40E_GLGEN_GPIO_CTL
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_rd32
	movq	_I40E_GLGEN_GPIO_CTL_PRT_NUM_NA_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	_I40E_GLGEN_GPIO_CTL_PRT_NUM_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	movq	_I40E_GLGEN_GPIO_CTL_PRT_NUM_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	xorl	%ebx, %ebx
	cmpl	(%r14), %edx
	cmovel	%eax, %ebx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_GLGEN_GPIO_CTL_PRT_NUM_MASK,4,2 ## @I40E_GLGEN_GPIO_CTL_PRT_NUM_MASK
	.comm	_I40E_GLGEN_GPIO_CTL_PRT_NUM_SHIFT,4,2 ## @I40E_GLGEN_GPIO_CTL_PRT_NUM_SHIFT
	.comm	_I40E_GLGEN_GPIO_CTL_PRT_NUM_NA_MASK,4,2 ## @I40E_GLGEN_GPIO_CTL_PRT_NUM_NA_MASK
	.no_dead_strip	_i40e_led_is_mine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_led_is_mine
_i40e_led_is_mine:                      ; @i40e_led_is_mine
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	ldr	w8, [x8, w1, sxtw #2]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
	mov	x0, x1
	bl	_I40E_GLGEN_GPIO_CTL
	mov	x1, x0
	mov	x0, x19
	bl	_rd32
Lloh0:
	adrp	x8, _I40E_GLGEN_GPIO_CTL_PRT_NUM_NA_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_GLGEN_GPIO_CTL_PRT_NUM_NA_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _I40E_GLGEN_GPIO_CTL_PRT_NUM_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_GLGEN_GPIO_CTL_PRT_NUM_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _I40E_GLGEN_GPIO_CTL_PRT_NUM_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I40E_GLGEN_GPIO_CTL_PRT_NUM_SHIFT@GOTPAGEOFF]
	and	w8, w8, w0
Lloh8:
	ldr	w9, [x9]
	asr	w8, w8, w9
	ldr	w9, [x19]
	cmp	w8, w9
	csel	w0, w0, wzr, eq
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_GLGEN_GPIO_CTL_PRT_NUM_MASK,4,2 ; @I40E_GLGEN_GPIO_CTL_PRT_NUM_MASK
	.comm	_I40E_GLGEN_GPIO_CTL_PRT_NUM_SHIFT,4,2 ; @I40E_GLGEN_GPIO_CTL_PRT_NUM_SHIFT
	.comm	_I40E_GLGEN_GPIO_CTL_PRT_NUM_NA_MASK,4,2 ; @I40E_GLGEN_GPIO_CTL_PRT_NUM_NA_MASK
	.no_dead_strip	_i40e_led_is_mine
.subsections_via_symbols
