	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rbtn_rfkill_init
_rbtn_rfkill_init:                      ## @rbtn_rfkill_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rbx
	xorl	%r15d, %r15d
	cmpq	$0, (%rbx)
	je	LBB0_1
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rsi
	movq	_RFKILL_TYPE_WLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	movq	_rbtn_ops@GOTPCREL(%rip), %rcx
	movq	%rsi, %r8
	callq	_rfkill_alloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rdi
	callq	_rfkill_register
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	callq	_rfkill_destroy
	movq	$0, (%rbx)
	movl	%r14d, %r15d
	jmp	LBB0_5
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dell-rbtn"

	.comm	_RFKILL_TYPE_WLAN,4,2           ## @RFKILL_TYPE_WLAN
	.comm	_rbtn_ops,4,2                   ## @rbtn_ops
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_rbtn_rfkill_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rbtn_rfkill_init
_rbtn_rfkill_init:                      ; @rbtn_rfkill_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	x20, [x0, #8]
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.1:
	mov	w19, #0
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x1, x0
Lloh0:
	adrp	x8, _RFKILL_TYPE_WLAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RFKILL_TYPE_WLAN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
Lloh5:
	adrp	x3, _rbtn_ops@GOTPAGE
Lloh6:
	ldr	x3, [x3, _rbtn_ops@GOTPAGEOFF]
	mov	x4, x1
	bl	_rfkill_alloc
	str	x0, [x20]
	cbz	x0, LBB0_6
; %bb.4:
	bl	_rfkill_register
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.5:
	ldr	x0, [x20]
	bl	_rfkill_destroy
	str	xzr, [x20]
	b	LBB0_2
LBB0_6:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dell-rbtn"

	.comm	_RFKILL_TYPE_WLAN,4,2           ; @RFKILL_TYPE_WLAN
	.comm	_rbtn_ops,4,2                   ; @rbtn_ops
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_rbtn_rfkill_init
.subsections_via_symbols
