	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_phy_init             ## -- Begin function b43legacy_phy_init
	.p2align	4, 0x90
_b43legacy_phy_init:                    ## @b43legacy_phy_init
	.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
	movl	4(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.2:
	movl	8(%rdi), %eax
	addl	$-2, %eax
	cmpl	$4, %eax
	ja	LBB0_5
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	callq	_b43legacy_phy_initb2
	jmp	LBB0_12
LBB0_5:
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.6:
	negl	%ebx
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_b43legacyerr
	jmp	LBB0_13
LBB0_7:
	callq	_b43legacy_phy_initg
LBB0_12:
	xorl	%ebx, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	callq	_b43legacy_phy_initb4
	jmp	LBB0_12
LBB0_10:
	callq	_b43legacy_phy_initb5
	jmp	LBB0_12
LBB0_11:
	callq	_b43legacy_phy_initb6
	jmp	LBB0_12
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown PHYTYPE found\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_phy_init             ; -- Begin function b43legacy_phy_init
	.p2align	2
_b43legacy_phy_init:                    ; @b43legacy_phy_init
	.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
	ldr	w9, [x0, #4]
	cmp	w9, #128
	b.eq	LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w9, #129
	b.ne	LBB0_5
; %bb.2:
	ldr	w9, [x0, #8]
	sub	w9, w9, #2
	cmp	w9, #4
	b.hi	LBB0_5
; %bb.3:
Lloh3:
	adrp	x10, lJTI0_0@PAGE
Lloh4:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_4
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_4:
	bl	_b43legacy_phy_initb2
	b	LBB0_8
LBB0_5:
	cbz	w8, LBB0_8
; %bb.6:
	neg	w19, w8
	ldr	w0, [x0]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_b43legacyerr
	b	LBB0_9
LBB0_7:
	bl	_b43legacy_phy_initg
LBB0_8:
	mov	w19, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	_b43legacy_phy_initb4
	b	LBB0_8
LBB0_11:
	bl	_b43legacy_phy_initb5
	b	LBB0_8
LBB0_12:
	bl	_b43legacy_phy_initb6
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown PHYTYPE found\n"

.subsections_via_symbols
