	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_gpio_init
_b43_gpio_init:                         ## @b43_gpio_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_B43_MMIO_MACCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_B43_MACCTL_GPOUTSMSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	xorl	%ecx, %ecx
	callq	_b43_maskset32
	movq	_B43_MMIO_GPIO_MASK@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	movl	$15, %ecx
	callq	_b43_maskset16
	movq	(%rbx), %rax
	movq	16(%rax), %rax
	movq	_B43_BFL_PACTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	movl	(%r14), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_b43_read16
	orl	$512, %eax                      ## imm = 0x200
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_b43_write16
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_MMIO_MACCTL,4,2            ## @B43_MMIO_MACCTL
	.comm	_B43_MACCTL_GPOUTSMSK,4,2       ## @B43_MACCTL_GPOUTSMSK
	.comm	_B43_MMIO_GPIO_MASK,4,2         ## @B43_MMIO_GPIO_MASK
	.comm	_B43_BFL_PACTRL,4,2             ## @B43_BFL_PACTRL
	.comm	_B43_GPIO_CONTROL,4,2           ## @B43_GPIO_CONTROL
	.no_dead_strip	_b43_gpio_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_gpio_init
_b43_gpio_init:                         ; @b43_gpio_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
Lloh0:
	adrp	x8, _B43_MMIO_MACCTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_MMIO_MACCTL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _B43_MACCTL_GPOUTSMSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_MACCTL_GPOUTSMSK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mvn	w2, w8
	mov	w3, #0
	bl	_b43_maskset32
Lloh6:
	adrp	x20, _B43_MMIO_GPIO_MASK@GOTPAGE
Lloh7:
	ldr	x20, [x20, _B43_MMIO_GPIO_MASK@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #-1
	mov	w3, #15
	bl	_b43_maskset16
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _B43_BFL_PACTRL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _B43_BFL_PACTRL@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w20, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_b43_read16
	orr	w2, w0, #0x200
	mov	x0, x19
	mov	x1, x20
	bl	_b43_write16
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_MMIO_MACCTL,4,2            ; @B43_MMIO_MACCTL
	.comm	_B43_MACCTL_GPOUTSMSK,4,2       ; @B43_MACCTL_GPOUTSMSK
	.comm	_B43_MMIO_GPIO_MASK,4,2         ; @B43_MMIO_GPIO_MASK
	.comm	_B43_BFL_PACTRL,4,2             ; @B43_BFL_PACTRL
	.comm	_B43_GPIO_CONTROL,4,2           ; @B43_GPIO_CONTROL
	.no_dead_strip	_b43_gpio_init
.subsections_via_symbols
