	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_led_get                   ## -- Begin function i40e_led_get
	.p2align	4, 0x90
_i40e_led_get:                          ## @i40e_led_get
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_I40E_LED0@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_I40E_GLGEN_GPIO_CTL_MAX_INDEX@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	cmpl	(%r12), %ebx
	jg	LBB0_5
## %bb.1:
	movq	%rdi, %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_i40e_led_is_mine
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%rbx), %eax
	cmpl	(%r12), %ebx
	movl	%eax, %ebx
	jl	LBB0_3
	jmp	LBB0_5
LBB0_4:
	movq	_I40E_GLGEN_GPIO_CTL_LED_MODE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_I40E_GLGEN_GPIO_CTL_LED_MODE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_LED0,4,2                  ## @I40E_LED0
	.comm	_I40E_GLGEN_GPIO_CTL_MAX_INDEX,4,2 ## @I40E_GLGEN_GPIO_CTL_MAX_INDEX
	.comm	_I40E_GLGEN_GPIO_CTL_LED_MODE_MASK,4,2 ## @I40E_GLGEN_GPIO_CTL_LED_MODE_MASK
	.comm	_I40E_GLGEN_GPIO_CTL_LED_MODE_SHIFT,4,2 ## @I40E_GLGEN_GPIO_CTL_LED_MODE_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_led_get                   ; -- Begin function i40e_led_get
	.p2align	2
_i40e_led_get:                          ; @i40e_led_get
	.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
Lloh0:
	adrp	x8, _I40E_LED0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_LED0@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x21, _I40E_GLGEN_GPIO_CTL_MAX_INDEX@GOTPAGE
Lloh4:
	ldr	x21, [x21, _I40E_GLGEN_GPIO_CTL_MAX_INDEX@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w20, w8
	b.gt	LBB0_4
; %bb.1:
	mov	x19, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_i40e_led_is_mine
	cbnz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w20, #1
	ldr	w9, [x21]
	cmp	w20, w9
	mov	x20, x8
	b.lt	LBB0_2
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _I40E_GLGEN_GPIO_CTL_LED_MODE_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I40E_GLGEN_GPIO_CTL_LED_MODE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh8:
	adrp	x9, _I40E_GLGEN_GPIO_CTL_LED_MODE_SHIFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _I40E_GLGEN_GPIO_CTL_LED_MODE_SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	asr	w0, w8, w9
LBB0_6:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_LED0,4,2                  ; @I40E_LED0
	.comm	_I40E_GLGEN_GPIO_CTL_MAX_INDEX,4,2 ; @I40E_GLGEN_GPIO_CTL_MAX_INDEX
	.comm	_I40E_GLGEN_GPIO_CTL_LED_MODE_MASK,4,2 ; @I40E_GLGEN_GPIO_CTL_LED_MODE_MASK
	.comm	_I40E_GLGEN_GPIO_CTL_LED_MODE_SHIFT,4,2 ; @I40E_GLGEN_GPIO_CTL_LED_MODE_SHIFT
.subsections_via_symbols
