	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PacketRequest                  ## -- Begin function PacketRequest
	.p2align	4, 0x90
_PacketRequest:                         ## @PacketRequest
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	-56(%rbp), %rdi
	movl	$16, %esi
	callq	_bzero
	movq	_TRUE@GOTPCREL(%rip), %r13
	cmpq	%r14, (%r13)
	jne	LBB0_3
## %bb.4:
	movq	(%r12), %rax
	movq	_OID_802_11_ADD_KEY@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movl	12(%r12), %edi
	addl	$40, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	%rax, %r13
	movl	12(%r12), %esi
	addl	$40, %esi
	movq	%rax, %rdi
	callq	_bzero
	movq	(%r12), %rax
	movq	%rax, (%r13)
	movl	12(%r12), %eax
	leal	24(%rax), %ecx
	movl	%ecx, 8(%r13)
	movl	28(%r12), %edx
	movl	%edx, 32(%r13)
	movl	%ecx, 12(%r13)
	movl	24(%r12), %ecx
	movl	%ecx, 28(%r13)
	movl	%eax, 16(%r13)
	movl	20(%r12), %edi
	movq	20(%r13), %rsi
	movl	$4, %edx
	callq	_bcopy
	movl	16(%r12), %edi
	movq	%r13, %rsi
	addq	$36, %rsi
	movl	16(%r13), %edx
	callq	_bcopy
	movq	%r13, %r12
	movq	%r13, %rbx
	movq	_TRUE@GOTPCREL(%rip), %r13
	jmp	LBB0_7
LBB0_1:
	movl	$-1, %ebx
	jmp	LBB0_13
LBB0_3:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%r12, -48(%rbp)
	movl	-56(%rbp), %edi
	movl	4(%r15), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	(%r15), %edi
	cmpq	%r14, (%r13)
	jne	LBB0_8
## %bb.9:
	movq	_SIOCSDRVSPEC@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_SIOCGDRVSPEC@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	callq	_ioctl
	movq	%rax, %r14
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_free
LBB0_12:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	sete	%bl
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_OID_802_11_ADD_KEY,8,3         ## @OID_802_11_ADD_KEY
	.comm	_SIOCSDRVSPEC,4,2               ## @SIOCSDRVSPEC
	.comm	_SIOCGDRVSPEC,4,2               ## @SIOCGDRVSPEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PacketRequest                  ; -- Begin function PacketRequest
	.p2align	2
_PacketRequest:                         ; @PacketRequest
	.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
	cbz	x0, LBB0_9
; %bb.1:
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, sp
	mov	w1, #16
	bl	_bzero
Lloh0:
	adrp	x23, _TRUE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x8, x19
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x22]
Lloh2:
	adrp	x9, _OID_802_11_ADD_KEY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _OID_802_11_ADD_KEY@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x22, #12]
	add	w0, w8, #40
	bl	_malloc
	cbz	x0, LBB0_10
; %bb.4:
	mov	x21, x0
	ldr	w8, [x22, #12]
	add	w1, w8, #40
	bl	_bzero
	ldr	x8, [x22]
	str	x8, [x21]
	ldr	w8, [x22, #12]
	add	w9, w8, #24
	stp	w9, w9, [x21, #8]
	ldr	d0, [x22, #24]
	stur	d0, [x21, #28]
	str	w8, [x21, #16]
	ldr	w0, [x22, #20]
	ldur	x1, [x21, #20]
	mov	w2, #4
	bl	_bcopy
	ldr	w0, [x22, #16]
	add	x1, x21, #36
	ldr	w2, [x21, #16]
	bl	_bcopy
	mov	x22, x21
	b	LBB0_6
LBB0_5:
	mov	x21, #0
LBB0_6:
	str	x22, [sp, #8]
	ldr	w0, [sp]
	ldr	w1, [x20, #4]
	mov	w2, #4
	bl	_strlcpy
	ldr	x8, [x23]
Lloh5:
	adrp	x9, _SIOCSDRVSPEC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SIOCSDRVSPEC@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh7:
	adrp	x10, _SIOCGDRVSPEC@GOTPAGE
Lloh8:
	ldr	x10, [x10, _SIOCGDRVSPEC@GOTPAGEOFF]
	cmp	x8, x19
	csel	x8, x9, x10, eq
	ldr	w1, [x8]
	mov	x2, sp
	bl	_ioctl
	mov	x19, x0
	cbz	x21, LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_free
LBB0_8:
	cmp	x19, #0
	cset	w0, eq
	b	LBB0_10
LBB0_9:
	mov	w0, #-1
LBB0_10:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_OID_802_11_ADD_KEY,8,3         ; @OID_802_11_ADD_KEY
	.comm	_SIOCSDRVSPEC,4,2               ; @SIOCSDRVSPEC
	.comm	_SIOCGDRVSPEC,4,2               ; @SIOCGDRVSPEC
.subsections_via_symbols
