	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_blink_led
_qlcnic_blink_led:                      ## @qlcnic_blink_led
	.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, %r13d
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	24(%rax), %rax
	movq	(%rax), %rax
	movq	_QLCNIC_NON_PRIV_FUNC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_warn
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	%rbx, %r12
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_check
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	___QLCNIC_RESETTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %r15
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
LBB0_10:
	movq	___QLCNIC_LED_ENABLE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	addq	$4, %rbx
	movq	%rbx, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	jne	LBB0_5
## %bb.11:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	___QLCNIC_RESETTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	xorl	%r12d, %r12d
	testq	%rax, %rax
	jne	LBB0_26
## %bb.12:
	movq	___QLCNIC_DEV_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_13
LBB0_15:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	16(%rdi), %rax
	movl	$1, %esi
	movl	$15, %edx
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
LBB0_25:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	callq	_dev_err
	jmp	LBB0_26
LBB0_4:
	movq	___QLCNIC_LED_ENABLE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_7
LBB0_5:
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_30:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r12, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_qlcnic_83xx_config_led
	movq	%r12, %r14
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	imull	$1000, %r13d, %edi              ## imm = 0x3E8
	callq	_msleep_interruptible
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_qlcnic_83xx_config_led
	movl	%eax, %r12d
LBB0_9:
	movl	(%rbx), %edi
	movq	%r15, %rsi
	jmp	LBB0_29
LBB0_13:
	movq	_QLCNIC_LED_TEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_qlcnic_diag_alloc_res
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_26
## %bb.14:
	movq	___QLCNIC_DIAG_RES_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	jmp	LBB0_15
LBB0_17:
	movq	___QLCNIC_DIAG_RES_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_qlcnic_diag_free_res
LBB0_19:
	imull	$1000, %r13d, %edi              ## imm = 0x3E8
	callq	_msleep_interruptible
	movq	___QLCNIC_RESETTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	movl	$0, %r12d
	testq	%rax, %rax
	je	LBB0_20
LBB0_26:
	movq	___QLCNIC_DIAG_RES_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_qlcnic_diag_free_res
LBB0_28:
	movl	(%r15), %edi
	movq	%rbx, %rsi
LBB0_29:
	callq	_clear_bit
	jmp	LBB0_30
LBB0_20:
	movq	___QLCNIC_DEV_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_21
LBB0_23:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	16(%rdi), %rax
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$15, %edx
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_26
## %bb.24:
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %r12d
	jmp	LBB0_25
LBB0_21:
	movq	_QLCNIC_LED_TEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_qlcnic_diag_alloc_res
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_26
## %bb.22:
	movq	___QLCNIC_DIAG_RES_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_NON_PRIV_FUNC,8,3       ## @QLCNIC_NON_PRIV_FUNC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LED test not supported for non privilege function\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	___QLCNIC_RESETTING,4,2         ## @__QLCNIC_RESETTING
	.comm	___QLCNIC_LED_ENABLE,4,2        ## @__QLCNIC_LED_ENABLE
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	___QLCNIC_DEV_UP,4,2            ## @__QLCNIC_DEV_UP
	.comm	_QLCNIC_LED_TEST,4,2            ## @QLCNIC_LED_TEST
	.comm	___QLCNIC_DIAG_RES_ALLOC,4,2    ## @__QLCNIC_DIAG_RES_ALLOC
L_.str.1:                               ## @.str.1
	.asciz	"Failed to set LED blink state.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to reset LED blink state.\n"

	.no_dead_strip	_qlcnic_blink_led
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_blink_led
_qlcnic_blink_led:                      ; @qlcnic_blink_led
	.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
	mov	x23, x1
	mov	x19, x0
	bl	_netdev_priv
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _QLCNIC_NON_PRIV_FUNC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QLCNIC_NON_PRIV_FUNC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_warn
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	mov	x20, x0
	ldr	w21, [x0]
	bl	_qlcnic_83xx_check
	cbz	x0, LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, ___QLCNIC_RESETTING@GOTPAGE
Lloh8:
	ldr	x8, [x8, ___QLCNIC_RESETTING@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	add	x22, x20, #4
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_7
LBB0_4:
Lloh10:
	adrp	x25, ___QLCNIC_LED_ENABLE@GOTPAGE
Lloh11:
	ldr	x25, [x25, ___QLCNIC_LED_ENABLE@GOTPAGEOFF]
	ldr	w0, [x25]
	add	x22, x20, #4
	mov	x1, x22
	bl	_test_and_set_bit
	cbnz	x0, LBB0_8
; %bb.5:
Lloh12:
	adrp	x27, ___QLCNIC_RESETTING@GOTPAGE
Lloh13:
	ldr	x27, [x27, ___QLCNIC_RESETTING@GOTPAGEOFF]
	ldr	w0, [x27]
	mov	x1, x22
	bl	_test_bit
Lloh14:
	adrp	x26, ___QLCNIC_DIAG_RES_ALLOC@GOTPAGE
Lloh15:
	ldr	x26, [x26, ___QLCNIC_DIAG_RES_ALLOC@GOTPAGEOFF]
	cbz	x0, LBB0_11
LBB0_6:
	mov	w24, #0
	b	LBB0_19
LBB0_7:
Lloh16:
	adrp	x19, ___QLCNIC_LED_ENABLE@GOTPAGE
Lloh17:
	ldr	x19, [x19, ___QLCNIC_LED_ENABLE@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	x1, x22
	bl	_test_and_set_bit
	cbz	x0, LBB0_15
LBB0_8:
Lloh18:
	adrp	x8, _EBUSY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_10:
	mov	x0, x24
	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
LBB0_11:
Lloh20:
	adrp	x28, ___QLCNIC_DEV_UP@GOTPAGE
Lloh21:
	ldr	x28, [x28, ___QLCNIC_DEV_UP@GOTPAGEOFF]
	ldr	w0, [x28]
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_18
LBB0_12:
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	mov	x0, x20
	mov	w1, #1
	mov	w2, #15
	blr	x8
	cbz	w0, LBB0_23
; %bb.13:
	mov	x24, x0
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_14:
	ldr	x0, [x20, #8]
	bl	_dev_err
	b	LBB0_19
LBB0_15:
	mov	x0, x20
	mov	w1, #1
	mov	w2, #0
	bl	_qlcnic_83xx_config_led
	mov	x24, x0
	cbnz	w0, LBB0_17
; %bb.16:
	mov	w8, #1000
	mul	w0, w23, w8
	bl	_msleep_interruptible
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_qlcnic_83xx_config_led
	mov	x24, x0
LBB0_17:
	ldr	w0, [x19]
	b	LBB0_22
LBB0_18:
Lloh24:
	adrp	x8, _QLCNIC_LED_TEST@GOTPAGE
Lloh25:
	ldr	x8, [x8, _QLCNIC_LED_TEST@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_qlcnic_diag_alloc_res
	mov	x24, x0
	cbz	w0, LBB0_29
LBB0_19:
	ldr	w0, [x26]
	mov	x1, x22
	bl	_test_and_clear_bit
	cbz	x0, LBB0_21
; %bb.20:
	mov	x0, x19
	mov	x1, x21
	bl	_qlcnic_diag_free_res
LBB0_21:
	ldr	w0, [x25]
LBB0_22:
	mov	x1, x22
	bl	_clear_bit
	b	LBB0_10
LBB0_23:
	ldr	w0, [x26]
	mov	x1, x22
	bl	_test_and_clear_bit
	cbz	x0, LBB0_25
; %bb.24:
	mov	x0, x19
	mov	x1, x21
	bl	_qlcnic_diag_free_res
LBB0_25:
	mov	w8, #1000
	mul	w0, w23, w8
	bl	_msleep_interruptible
	ldr	w0, [x27]
	mov	x1, x22
	bl	_test_bit
	cbnz	x0, LBB0_6
; %bb.26:
	ldr	w0, [x28]
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_30
LBB0_27:
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #15
	blr	x8
	mov	x24, x0
	cbz	w0, LBB0_19
; %bb.28:
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_29:
	ldr	w0, [x26]
	mov	x1, x22
	bl	_set_bit
	b	LBB0_12
LBB0_30:
Lloh29:
	adrp	x8, _QLCNIC_LED_TEST@GOTPAGE
Lloh30:
	ldr	x8, [x8, _QLCNIC_LED_TEST@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_qlcnic_diag_alloc_res
	mov	x24, x0
	cbnz	w0, LBB0_19
; %bb.31:
	ldr	w0, [x26]
	mov	x1, x22
	bl	_set_bit
	b	LBB0_27
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_NON_PRIV_FUNC,8,3       ; @QLCNIC_NON_PRIV_FUNC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LED test not supported for non privilege function\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	___QLCNIC_RESETTING,4,2         ; @__QLCNIC_RESETTING
	.comm	___QLCNIC_LED_ENABLE,4,2        ; @__QLCNIC_LED_ENABLE
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	___QLCNIC_DEV_UP,4,2            ; @__QLCNIC_DEV_UP
	.comm	_QLCNIC_LED_TEST,4,2            ; @QLCNIC_LED_TEST
	.comm	___QLCNIC_DIAG_RES_ALLOC,4,2    ; @__QLCNIC_DIAG_RES_ALLOC
l_.str.1:                               ; @.str.1
	.asciz	"Failed to set LED blink state.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to reset LED blink state.\n"

	.no_dead_strip	_qlcnic_blink_led
.subsections_via_symbols
