	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_lpphy_op_init
_b43_lpphy_op_init:                     ## @b43_lpphy_op_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
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_B43_BUS_SSB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_lpphy_read_band_sprom
	movq	%rbx, %rdi
	callq	_lpphy_baseband_init
	movq	%rbx, %rdi
	callq	_lpphy_radio_init
	movq	%rbx, %rdi
	callq	_lpphy_calibrate_rc
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_b43_lpphy_op_switch_channel
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_b43dbg
LBB0_4:
	movq	%rbx, %rdi
	callq	_lpphy_tx_pctl_init
	movq	%rbx, %rdi
	callq	_lpphy_calibration
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_1:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_b43err
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_BUS_SSB,8,3                ## @B43_BUS_SSB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LP-PHY is supported only on SSB!\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_.str.1:                               ## @.str.1
	.asciz	"Switch to channel 7 failed, error = %d.\n"

	.no_dead_strip	_b43_lpphy_op_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_lpphy_op_init
_b43_lpphy_op_init:                     ; @b43_lpphy_op_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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _B43_BUS_SSB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _B43_BUS_SSB@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_lpphy_read_band_sprom
	mov	x0, x19
	bl	_lpphy_baseband_init
	mov	x0, x19
	bl	_lpphy_radio_init
	mov	x0, x19
	bl	_lpphy_calibrate_rc
	mov	x0, x19
	mov	w1, #7
	bl	_b43_lpphy_op_switch_channel
	cbz	w0, LBB0_3
; %bb.2:
	mov	x2, x0
	ldr	w0, [x19]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_b43dbg
LBB0_3:
	mov	x0, x19
	bl	_lpphy_tx_pctl_init
	mov	x0, x19
	bl	_lpphy_calibration
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	ldr	w0, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_b43err
Lloh7:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_BUS_SSB,8,3                ; @B43_BUS_SSB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LP-PHY is supported only on SSB!\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_.str.1:                               ; @.str.1
	.asciz	"Switch to channel 7 failed, error = %d.\n"

	.no_dead_strip	_b43_lpphy_op_init
.subsections_via_symbols
