	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dell_rfkill_set
_dell_rfkill_set:                       ## @dell_rfkill_set
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	testl	%esi, %esi
	setne	-41(%rbp)                       ## 1-byte Folded Spill
	leaq	-56(%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), %r12
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_dell_send_request
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movq	-56(%rbp), %rax
	movl	4(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	leaq	-56(%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	(%r12), %edx
	movq	%rbx, %rdi
	callq	_dell_send_request
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	movl	-60(%rbp), %r13d                ## 4-byte Reload
	leal	-1(%r14), %edi
	movq	-56(%rbp), %rax
	movl	4(%rax), %ebx
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_3
## %bb.4:
	xorl	%edi, %edi
	callq	_BIT
	testl	%r13d, %eax
	movb	-41(%rbp), %al                  ## 1-byte Reload
	je	LBB0_6
## %bb.5:
	testl	%r15d, %r15d
	setne	%bl
	movl	$16, %edi
	callq	_BIT
	testl	%r13d, %eax
	sete	%al
	orb	%bl, %al
	jmp	LBB0_6
LBB0_3:
	movb	-41(%rbp), %al                  ## 1-byte Reload
LBB0_6:
	shll	$8, %r14d
	movzbl	%al, %esi
	shll	$16, %esi
	orl	%r14d, %esi
	orl	$1, %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_dell_fill_request
	movq	_CLASS_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_dell_send_request
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLASS_INFO,4,2                 ## @CLASS_INFO
	.comm	_SELECT_RFKILL,4,2              ## @SELECT_RFKILL
	.no_dead_strip	_dell_rfkill_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dell_rfkill_set
_dell_rfkill_set:                       ; @dell_rfkill_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	cmp	w1, #0
	cset	w23, ne
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_dell_fill_request
Lloh0:
	adrp	x21, _CLASS_INFO@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CLASS_INFO@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _SELECT_RFKILL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SELECT_RFKILL@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x0, sp, #8
	bl	_dell_send_request
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	x8, [sp, #8]
	ldr	w24, [x8, #4]
	add	x0, sp, #8
	mov	w1, #2
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_dell_fill_request
	ldr	w1, [x21]
	ldr	w2, [x22]
	add	x0, sp, #8
	bl	_dell_send_request
	cbnz	w0, LBB0_6
; %bb.2:
	sub	w0, w19, #1
	ldr	x8, [sp, #8]
	ldr	w25, [x8, #4]
	bl	_BIT
	tst	w0, w25
	b.eq	LBB0_5
; %bb.3:
	mov	w0, #0
	bl	_BIT
	tst	w0, w24
	b.eq	LBB0_5
; %bb.4:
	mov	w0, #16
	bl	_BIT
	tst	w0, w24
	ccmp	w20, #0, #0, ne
	cset	w23, ne
LBB0_5:
	mov	w8, #65536
	cmp	w23, #0
	csel	w8, w8, wzr, ne
	orr	w8, w8, w19, lsl #8
	orr	w1, w8, #0x1
	add	x0, sp, #8
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_dell_fill_request
	ldr	w1, [x21]
	ldr	w2, [x22]
	add	x0, sp, #8
	bl	_dell_send_request
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.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_set
.subsections_via_symbols
