	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ioctl_standard_call
_ioctl_standard_call:                   ## @ioctl_standard_call
	.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	%r8, %r15
	movq	%rcx, %r13
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	%edx, %edi
	callq	_IW_IOCTL_IDX
	movq	_standard_ioctl_num@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_3
## %bb.1:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_standard_ioctl@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	%r12d, %edi
	callq	_IW_IOCTL_IDX
	movq	%rax, %r15
	shlq	$4, %r15
	movq	(%r14,%r15), %rax
	movq	_IW_HEADER_TYPE_POINT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	addq	%r15, %r14
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movq	%r14, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r8
	movq	%r13, %r9
	callq	_ioctl_standard_iw_point
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_3:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	movl	%eax, %ebx
	movq	_IW_DESCR_FLAG_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r14,%r15)
	je	LBB0_9
## %bb.5:
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.6:
	movq	_EIWCOMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_9
LBB0_7:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_wireless_send_event
	jmp	LBB0_10
LBB0_9:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_10:
	movq	_EIWCOMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_call_commit_handler            ## TAILCALL
LBB0_12:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_standard_ioctl_num,8,3         ## @standard_ioctl_num
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_standard_ioctl,8,3             ## @standard_ioctl
	.comm	_IW_HEADER_TYPE_POINT,8,3       ## @IW_HEADER_TYPE_POINT
	.comm	_IW_DESCR_FLAG_EVENT,4,2        ## @IW_DESCR_FLAG_EVENT
	.comm	_EIWCOMMIT,4,2                  ## @EIWCOMMIT
	.no_dead_strip	_ioctl_standard_call
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ioctl_standard_call
_ioctl_standard_call:                   ; @ioctl_standard_call
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x4
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x2
	bl	_IW_IOCTL_IDX
Lloh0:
	adrp	x8, _standard_ioctl_num@GOTPAGE
Lloh1:
	ldr	x8, [x8, _standard_ioctl_num@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.hs	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _standard_ioctl@GOTPAGE
Lloh4:
	ldr	x8, [x8, _standard_ioctl@GOTPAGEOFF]
Lloh5:
	ldr	x24, [x8]
	mov	x0, x20
	bl	_IW_IOCTL_IDX
	add	x24, x24, x0, lsl #4
	ldr	x8, [x24]
Lloh6:
	adrp	x9, _IW_HEADER_TYPE_POINT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IW_HEADER_TYPE_POINT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x25, _EIWCOMMIT@GOTPAGE
Lloh10:
	ldr	x25, [x25, _EIWCOMMIT@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x24
	mov	x3, x22
	mov	x4, x19
	mov	x5, x23
	bl	_ioctl_standard_iw_point
	mov	x22, x0
	b	LBB0_8
LBB0_3:
Lloh11:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_10
LBB0_4:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	mov	x3, #0
	blr	x22
	mov	x22, x0
	ldr	w8, [x24, #8]
Lloh14:
	adrp	x9, _IW_DESCR_FLAG_EVENT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IW_DESCR_FLAG_EVENT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.5:
	cbz	w22, LBB0_7
; %bb.6:
	ldr	w8, [x25]
	cmn	w22, w8
	b.ne	LBB0_8
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, #0
	bl	_wireless_send_event
LBB0_8:
	ldr	w8, [x25]
	cmn	w22, w8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_call_commit_handler
LBB0_10:
	mov	x0, x22
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_standard_ioctl_num,8,3         ; @standard_ioctl_num
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_standard_ioctl,8,3             ; @standard_ioctl
	.comm	_IW_HEADER_TYPE_POINT,8,3       ; @IW_HEADER_TYPE_POINT
	.comm	_IW_DESCR_FLAG_EVENT,4,2        ; @IW_DESCR_FLAG_EVENT
	.comm	_EIWCOMMIT,4,2                  ; @EIWCOMMIT
	.no_dead_strip	_ioctl_standard_call
.subsections_via_symbols
