	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_led_get_sprominfo
_b43_led_get_sprominfo:                 ## @b43_led_get_sprominfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	8(%rax), %rax
	movdqu	(%rax), %xmm0
	movdqa	%xmm0, -16(%rbp)
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	pand	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	pand	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpl	$255, %eax
	jne	LBB0_11
## %bb.1:
	movl	$0, (%rcx)
	cmpl	$3, %esi
	ja	LBB0_10
## %bb.2:
	movl	%esi, %eax
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rax,4), %rax
	addq	%rsi, %rax
	jmpq	*%rax
LBB0_3:
	movq	_B43_LED_ACTIVITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	$1, (%rcx)
	movq	(%rdi), %rax
	movl	(%rax), %eax
	movq	_PCI_VENDOR_ID_COMPAQ@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.4:
	movq	_B43_LED_RADIO_ALL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_11:
	movl	%esi, %eax
	movl	-16(%rbp,%rax,4), %eax
	cmpl	$255, %eax
	jne	LBB0_12
## %bb.13:
	movq	_B43_LED_OFF@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	jmp	LBB0_14
LBB0_12:
	movq	_B43_LED_BEHAVIOUR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
LBB0_14:
	movl	%esi, (%rdx)
	movq	_B43_LED_ACTIVELOW@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	andl	(%rdx), %eax
	setne	%sil
	movl	%esi, (%rcx)
LBB0_15:
	popq	%rbp
	retq
LBB0_8:
	movq	_B43_LED_RADIO_A@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_9:
	movq	_B43_LED_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_10:
	movq	_B43_LED_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	$1, %edi
	popq	%rbp
	jmp	_B43_WARN_ON                    ## TAILCALL
LBB0_6:
	movq	_B43_LED_RADIO_B@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movq	(%rdi), %rax
	movl	(%rax), %eax
	movq	_PCI_VENDOR_ID_ASUSTEK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.7:
	movq	_B43_LED_ASSOC@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_B43_LED_ACTIVITY,4,2           ## @B43_LED_ACTIVITY
	.comm	_PCI_VENDOR_ID_COMPAQ,4,2       ## @PCI_VENDOR_ID_COMPAQ
	.comm	_B43_LED_RADIO_ALL,4,2          ## @B43_LED_RADIO_ALL
	.comm	_B43_LED_RADIO_B,4,2            ## @B43_LED_RADIO_B
	.comm	_PCI_VENDOR_ID_ASUSTEK,4,2      ## @PCI_VENDOR_ID_ASUSTEK
	.comm	_B43_LED_ASSOC,4,2              ## @B43_LED_ASSOC
	.comm	_B43_LED_RADIO_A,4,2            ## @B43_LED_RADIO_A
	.comm	_B43_LED_OFF,4,2                ## @B43_LED_OFF
	.comm	_B43_LED_BEHAVIOUR,4,2          ## @B43_LED_BEHAVIOUR
	.comm	_B43_LED_ACTIVELOW,4,2          ## @B43_LED_ACTIVELOW
	.no_dead_strip	_b43_led_get_sprominfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_led_get_sprominfo
_b43_led_get_sprominfo:                 ; @b43_led_get_sprominfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	ldp	w9, w10, [x8]
	stp	w9, w10, [sp, #8]
	ldp	w11, w8, [x8, #8]
	stp	w11, w8, [sp, #16]
	and	w9, w10, w9
	and	w9, w9, w11
	and	w8, w9, w8
	cmp	w8, #255
	b.ne	LBB0_5
; %bb.1:
	str	wzr, [x3]
	cmp	w1, #3
	b.hi	LBB0_6
; %bb.2:
	mov	w8, w1
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh5:
	adrp	x8, _B43_LED_ACTIVITY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _B43_LED_ACTIVITY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x2]
	mov	w8, #1
	str	w8, [x3]
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _PCI_VENDOR_ID_COMPAQ@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PCI_VENDOR_ID_COMPAQ@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.4:
Lloh11:
	adrp	x8, _B43_LED_RADIO_ALL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _B43_LED_RADIO_ALL@GOTPAGEOFF]
	b	LBB0_12
LBB0_5:
	add	x8, sp, #8
	ldr	w8, [x8, w1, uxtw #2]
Lloh13:
	adrp	x9, _B43_LED_BEHAVIOUR@GOTPAGE
Lloh14:
	ldr	x9, [x9, _B43_LED_BEHAVIOUR@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh16:
	adrp	x10, _B43_LED_OFF@GOTPAGE
Lloh17:
	ldr	x10, [x10, _B43_LED_OFF@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	cmp	w8, #255
	csel	w9, w10, w9, eq
	str	w9, [x2]
Lloh19:
	adrp	x9, _B43_LED_ACTIVELOW@GOTPAGE
Lloh20:
	ldr	x9, [x9, _B43_LED_ACTIVELOW@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x3]
	b	LBB0_13
LBB0_6:
Lloh22:
	adrp	x8, _B43_LED_OFF@GOTPAGE
Lloh23:
	ldr	x8, [x8, _B43_LED_OFF@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x2]
	ldur	x8, [x29, #-8]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.7:
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_B43_WARN_ON
LBB0_8:
Lloh28:
	adrp	x8, _B43_LED_RADIO_B@GOTPAGE
Lloh29:
	ldr	x8, [x8, _B43_LED_RADIO_B@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	w8, [x2]
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _PCI_VENDOR_ID_ASUSTEK@GOTPAGE
Lloh32:
	ldr	x9, [x9, _PCI_VENDOR_ID_ASUSTEK@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.9:
Lloh34:
	adrp	x8, _B43_LED_ASSOC@GOTPAGE
Lloh35:
	ldr	x8, [x8, _B43_LED_ASSOC@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh36:
	adrp	x8, _B43_LED_RADIO_A@GOTPAGE
Lloh37:
	ldr	x8, [x8, _B43_LED_RADIO_A@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh38:
	adrp	x8, _B43_LED_OFF@GOTPAGE
Lloh39:
	ldr	x8, [x8, _B43_LED_OFF@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	str	w8, [x2]
LBB0_13:
	ldur	x8, [x29, #-8]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
                                        ; -- End function
	.comm	_B43_LED_ACTIVITY,4,2           ; @B43_LED_ACTIVITY
	.comm	_PCI_VENDOR_ID_COMPAQ,4,2       ; @PCI_VENDOR_ID_COMPAQ
	.comm	_B43_LED_RADIO_ALL,4,2          ; @B43_LED_RADIO_ALL
	.comm	_B43_LED_RADIO_B,4,2            ; @B43_LED_RADIO_B
	.comm	_PCI_VENDOR_ID_ASUSTEK,4,2      ; @PCI_VENDOR_ID_ASUSTEK
	.comm	_B43_LED_ASSOC,4,2              ; @B43_LED_ASSOC
	.comm	_B43_LED_RADIO_A,4,2            ; @B43_LED_RADIO_A
	.comm	_B43_LED_OFF,4,2                ; @B43_LED_OFF
	.comm	_B43_LED_BEHAVIOUR,4,2          ; @B43_LED_BEHAVIOUR
	.comm	_B43_LED_ACTIVELOW,4,2          ; @B43_LED_ACTIVELOW
	.no_dead_strip	_b43_led_get_sprominfo
.subsections_via_symbols
