	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dell_rfkill_query
_dell_rfkill_query:                     ## @dell_rfkill_query
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_dell_fill_request
	movq	_CLASS_INFO@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_SELECT_RFKILL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_dell_send_request
	testl	%eax, %eax
	je	LBB0_1
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	-48(%rbp), %rax
	movl	4(%rax), %r15d
	xorl	%edi, %edi
	callq	_BIT
	testl	%r15d, %eax
	je	LBB0_4
## %bb.2:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_dell_fill_request
	movl	(%r13), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_dell_send_request
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	andl	$15, %r12d
	movq	-48(%rbp), %rax
	movl	4(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_dell_rfkill_update_hw_state
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_CLASS_INFO,4,2                 ## @CLASS_INFO
	.comm	_SELECT_RFKILL,4,2              ## @SELECT_RFKILL
	.no_dead_strip	_dell_rfkill_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dell_rfkill_query
_dell_rfkill_query:                     ; @dell_rfkill_query
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_dell_fill_request
Lloh0:
	adrp	x22, _CLASS_INFO@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CLASS_INFO@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x23, _SELECT_RFKILL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _SELECT_RFKILL@GOTPAGEOFF]
	ldr	w2, [x23]
	add	x0, sp, #8
	bl	_dell_send_request
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	ldr	x8, [sp, #8]
	ldr	w21, [x8, #4]
	bl	_BIT
	tst	w0, w21
	b.eq	LBB0_1
; %bb.3:
	add	x0, sp, #8
	mov	w1, #2
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_dell_fill_request
	ldr	w1, [x22]
	ldr	w2, [x23]
	add	x0, sp, #8
	bl	_dell_send_request
	cbnz	w0, LBB0_1
; %bb.4:
	and	w1, w20, #0xf
	ldr	x8, [sp, #8]
	ldr	w3, [x8, #4]
	mov	x0, x19
	mov	x2, x21
	bl	_dell_rfkill_update_hw_state
	b	LBB0_1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CLASS_INFO,4,2                 ; @CLASS_INFO
	.comm	_SELECT_RFKILL,4,2              ; @SELECT_RFKILL
	.no_dead_strip	_dell_rfkill_query
.subsections_via_symbols
