	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_map_led
_b43_map_led:                           ## @b43_map_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	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rbx
	movq	_B43_LED_MAX_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	incl	%r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leal	-128(%r13), %eax
	cmpl	$11, %eax
	ja	LBB0_8
## %bb.1:
	movq	16(%rbx), %r13
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movl	(%r13), %edi
	callq	_wiphy_name
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movq	(%r15), %rbx
	addq	$4, %rbx
	movq	%r13, %rdi
	callq	_ieee80211_get_radio_led_name
	jmp	LBB0_5
LBB0_2:
	movl	(%r13), %edi
	callq	_wiphy_name
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movq	(%r15), %rbx
	addq	$12, %rbx
	movq	%r13, %rdi
	callq	_ieee80211_get_tx_led_name
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movl	%eax, %ecx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	callq	_b43_register_led
	movl	(%r13), %edi
	callq	_wiphy_name
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movq	(%r15), %rbx
	addq	$8, %rbx
	movq	%r13, %rdi
	callq	_ieee80211_get_rx_led_name
	jmp	LBB0_5
LBB0_4:
	movl	(%r13), %edi
	callq	_wiphy_name
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movq	(%r15), %rbx
	movq	%r13, %rdi
	callq	_ieee80211_get_assoc_led_name
LBB0_5:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movl	%eax, %ecx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	callq	_b43_register_led
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.10:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43warn                        ## TAILCALL
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_B43_LED_MAX_NAME_LEN,4,2       ## @B43_LED_MAX_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"b43-%s::tx"

L_.str.1:                               ## @.str.1
	.asciz	"b43-%s::rx"

L_.str.2:                               ## @.str.2
	.asciz	"b43-%s::radio"

L_.str.3:                               ## @.str.3
	.asciz	"b43-%s::assoc"

L_.str.4:                               ## @.str.4
	.asciz	"LEDs: Unknown behaviour 0x%02X\n"

	.no_dead_strip	_b43_map_led
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_map_led
_b43_map_led:                           ; @b43_map_led
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x0, [x0]
	ldr	x23, [x0, #16]
Lloh3:
	adrp	x8, _B43_LED_MAX_NAME_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_LED_MAX_NAME_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w24, w8, #1
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	sub	w8, w2, #128
	cmp	w8, #11
	b.hi	LBB0_8
; %bb.1:
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w0, [x23]
	bl	_wiphy_name
	mov	x3, x0
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x1, x24
	bl	_snprintf
	ldr	x8, [x21]
	add	x24, x8, #4
	mov	x0, x23
	bl	_ieee80211_get_radio_led_name
	b	LBB0_5
LBB0_3:
	ldr	w0, [x23]
	bl	_wiphy_name
	mov	x3, x0
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x24
	bl	_snprintf
	ldr	x8, [x21]
	add	x25, x8, #12
	mov	x0, x23
	bl	_ieee80211_get_tx_led_name
	mov	x3, x0
	mov	x0, x21
	mov	x1, x25
	mov	x2, x22
	mov	x4, x20
	mov	x5, x19
	bl	_b43_register_led
	ldr	w0, [x23]
	bl	_wiphy_name
	mov	x3, x0
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x24
	bl	_snprintf
	ldr	x8, [x21]
	add	x24, x8, #8
	mov	x0, x23
	bl	_ieee80211_get_rx_led_name
	b	LBB0_5
LBB0_4:
	ldr	w0, [x23]
	bl	_wiphy_name
	mov	x3, x0
Lloh16:
	adrp	x2, l_.str.3@PAGE
Lloh17:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x22
	mov	x1, x24
	bl	_snprintf
	ldr	x24, [x21]
	mov	x0, x23
	bl	_ieee80211_get_assoc_led_name
LBB0_5:
	mov	x3, x0
	mov	x0, x21
	mov	x1, x24
	mov	x2, x22
	mov	x4, x20
	mov	x5, x19
	bl	_b43_register_led
LBB0_6:
	ldur	x8, [x29, #-72]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.7:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldur	x8, [x29, #-72]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_b43warn
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.comm	_B43_LED_MAX_NAME_LEN,4,2       ; @B43_LED_MAX_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"b43-%s::tx"

l_.str.1:                               ; @.str.1
	.asciz	"b43-%s::rx"

l_.str.2:                               ; @.str.2
	.asciz	"b43-%s::radio"

l_.str.3:                               ; @.str.3
	.asciz	"b43-%s::assoc"

l_.str.4:                               ; @.str.4
	.asciz	"LEDs: Unknown behaviour 0x%02X\n"

	.no_dead_strip	_b43_map_led
.subsections_via_symbols
