	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p54_init_leds                  ## -- Begin function p54_init_leds
	.p2align	4, 0x90
_p54_init_leds:                         ## @p54_init_leds
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$4, %rdi
	movq	_p54_update_leds@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movl	(%rbx), %edi
	callq	_ieee80211_get_assoc_led_name
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %ecx
	callq	_p54_register_led
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movl	(%rbx), %edi
	callq	_ieee80211_get_tx_led_name
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%eax, %ecx
	callq	_p54_register_led
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movl	(%rbx), %edi
	callq	_ieee80211_get_rx_led_name
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	%eax, %ecx
	callq	_p54_register_led
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	(%rbx), %edi
	callq	_ieee80211_get_radio_led_name
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	movl	$3, %esi
	movl	%eax, %ecx
	callq	_p54_register_led
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p54_set_leds                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_p54_update_leds,4,2            ## @p54_update_leds
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"assoc"

L_.str.1:                               ## @.str.1
	.asciz	"tx"

L_.str.2:                               ## @.str.2
	.asciz	"rx"

L_.str.3:                               ## @.str.3
	.asciz	"radio"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p54_init_leds                  ; -- Begin function p54_init_leds
	.p2align	2
_p54_init_leds:                         ; @p54_init_leds
	.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
	mov	x19, x0
	add	x0, x0, #4
Lloh0:
	adrp	x8, _p54_update_leds@GOTPAGE
Lloh1:
	ldr	x8, [x8, _p54_update_leds@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	ldr	w0, [x19]
	bl	_ieee80211_get_assoc_led_name
	mov	x3, x0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_p54_register_led
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w0, [x19]
	bl	_ieee80211_get_tx_led_name
	mov	x3, x0
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_p54_register_led
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x19]
	bl	_ieee80211_get_rx_led_name
	mov	x3, x0
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #2
	bl	_p54_register_led
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w0, [x19]
	bl	_ieee80211_get_radio_led_name
	mov	x3, x0
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #3
	bl	_p54_register_led
	cbz	w0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_p54_set_leds
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_p54_update_leds,4,2            ; @p54_update_leds
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"assoc"

l_.str.1:                               ; @.str.1
	.asciz	"tx"

l_.str.2:                               ; @.str.2
	.asciz	"rx"

l_.str.3:                               ; @.str.3
	.asciz	"radio"

.subsections_via_symbols
