	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dell_rbtn_notifier_register    ## -- Begin function dell_rbtn_notifier_register
	.p2align	4, 0x90
_dell_rbtn_notifier_register:           ## @dell_rbtn_notifier_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$0, -28(%rbp)
	movq	_rbtn_inc_count@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_rbtn_driver@GOTPCREL(%rip), %rdi
	xorl	%ebx, %ebx
	leaq	-28(%rbp), %rdx
	xorl	%esi, %esi
	callq	_driver_for_each_device
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	cmpl	$0, -28(%rbp)
	je	LBB0_2
## %bb.3:
	movq	_rbtn_chain_head@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r15d
	movq	%r14, %rsi
	callq	_atomic_notifier_chain_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	_auto_remove_rfkill@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.5:
	testl	%r15d, %r15d
	jne	LBB0_7
## %bb.6:
	movq	_rbtn_switch_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_rbtn_driver@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_driver_for_each_device
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rbtn_driver,4,2                ## @rbtn_driver
	.comm	_rbtn_inc_count,4,2             ## @rbtn_inc_count
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_rbtn_chain_head,4,2            ## @rbtn_chain_head
	.comm	_auto_remove_rfkill,8,3         ## @auto_remove_rfkill
	.comm	_rbtn_switch_dev,4,2            ## @rbtn_switch_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dell_rbtn_notifier_register    ; -- Begin function dell_rbtn_notifier_register
	.p2align	2
_dell_rbtn_notifier_register:           ; @dell_rbtn_notifier_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _rbtn_inc_count@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rbtn_inc_count@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x0, _rbtn_driver@GOTPAGE
Lloh4:
	ldr	x0, [x0, _rbtn_driver@GOTPAGEOFF]
	add	x2, sp, #12
	mov	x1, #0
	bl	_driver_for_each_device
	ldr	w8, [sp, #12]
	cmp	w0, #0
	ccmp	w8, #0, #4, eq
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_2:
Lloh8:
	adrp	x0, _rbtn_chain_head@GOTPAGE
Lloh9:
	ldr	x0, [x0, _rbtn_chain_head@GOTPAGEOFF]
	ldr	w20, [x0]
	mov	x1, x19
	bl	_atomic_notifier_chain_register
	cbnz	w0, LBB0_6
; %bb.3:
Lloh10:
	adrp	x8, _auto_remove_rfkill@GOTPAGE
Lloh11:
	ldr	x8, [x8, _auto_remove_rfkill@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	w20, #0, #0, ne
	b.eq	LBB0_5
; %bb.4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x8, _rbtn_switch_dev@GOTPAGE
Lloh14:
	ldr	x8, [x8, _rbtn_switch_dev@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
Lloh16:
	adrp	x0, _rbtn_driver@GOTPAGE
Lloh17:
	ldr	x0, [x0, _rbtn_driver@GOTPAGEOFF]
	mov	x1, #0
	mov	x2, #0
	bl	_driver_for_each_device
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_rbtn_driver,4,2                ; @rbtn_driver
	.comm	_rbtn_inc_count,4,2             ; @rbtn_inc_count
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_rbtn_chain_head,4,2            ; @rbtn_chain_head
	.comm	_auto_remove_rfkill,8,3         ; @auto_remove_rfkill
	.comm	_rbtn_switch_dev,4,2            ; @rbtn_switch_dev
.subsections_via_symbols
