	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_sysfs_register       ## -- Begin function b43legacy_sysfs_register
	.p2align	4, 0x90
_b43legacy_sysfs_register:              ## @b43legacy_sysfs_register
	.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), %rax
	movq	(%rax), %r14
	callq	_b43legacy_status
	movq	_B43legacy_STAT_INITIALIZED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_B43legacy_WARN_ON
	movq	_dev_attr_interference@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_create_file
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_dev_attr_shortpreamble@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_create_file
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	movl	%eax, %ebx
	movq	_dev_attr_interference@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_remove_file
	jmp	LBB0_3
LBB0_2:
	xorl	%ebx, %ebx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43legacy_STAT_INITIALIZED,8,3 ## @B43legacy_STAT_INITIALIZED
	.comm	_dev_attr_interference,4,2      ## @dev_attr_interference
	.comm	_dev_attr_shortpreamble,4,2     ## @dev_attr_shortpreamble
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_sysfs_register       ; -- Begin function b43legacy_sysfs_register
	.p2align	2
_b43legacy_sysfs_register:              ; @b43legacy_sysfs_register
	.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	x8, [x0]
	ldr	x19, [x8]
	bl	_b43legacy_status
Lloh0:
	adrp	x8, _B43legacy_STAT_INITIALIZED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43legacy_STAT_INITIALIZED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ne
	bl	_B43legacy_WARN_ON
Lloh3:
	adrp	x1, _dev_attr_interference@GOTPAGE
Lloh4:
	ldr	x1, [x1, _dev_attr_interference@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	mov	x20, x0
	cbnz	w0, LBB0_3
; %bb.1:
Lloh5:
	adrp	x1, _dev_attr_shortpreamble@GOTPAGE
Lloh6:
	ldr	x1, [x1, _dev_attr_shortpreamble@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	mov	x20, x0
	cbz	w0, LBB0_3
; %bb.2:
Lloh7:
	adrp	x1, _dev_attr_interference@GOTPAGE
Lloh8:
	ldr	x1, [x1, _dev_attr_interference@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_B43legacy_STAT_INITIALIZED,8,3 ; @B43legacy_STAT_INITIALIZED
	.comm	_dev_attr_interference,4,2      ; @dev_attr_interference
	.comm	_dev_attr_shortpreamble,4,2     ; @dev_attr_shortpreamble
.subsections_via_symbols
