	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostap_ioctl                   ## -- Begin function hostap_ioctl
	.p2align	4, 0x90
_hostap_ioctl:                          ## @hostap_ioctl
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_netdev_priv
	addl	$-128, %ebx
	cmpl	$11, %ebx
	ja	LBB0_25
## %bb.1:
	movq	(%rax), %r15
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_11:
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_3
## %bb.12:
	movl	4(%r14), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_prism2_wds_del                 ## TAILCALL
LBB0_9:
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_3
## %bb.10:
	movl	4(%r14), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_prism2_wds_add                 ## TAILCALL
LBB0_13:
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_3
## %bb.14:
	movq	8(%r14), %rsi
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_prism2_ioctl_priv_set_rid_word ## TAILCALL
LBB0_7:
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_3
## %bb.8:
	movq	8(%r14), %rsi
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_prism2_ioctl_priv_reset        ## TAILCALL
LBB0_5:
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_3
## %bb.6:
	movq	8(%r14), %rsi
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_prism2_ioctl_priv_monitor      ## TAILCALL
LBB0_15:
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_3
## %bb.16:
	movq	8(%r14), %rsi
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ap_mac_cmd_ioctl               ## TAILCALL
LBB0_21:
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_3
## %bb.22:
	movq	8(%r15), %rdi
	movl	(%r15), %esi
	movl	4(%r14), %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ap_control_kick_mac            ## TAILCALL
LBB0_2:
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	8(%r14), %rsi
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_prism2_ioctl_priv_inquire      ## TAILCALL
LBB0_23:
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_3
## %bb.24:
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_prism2_ioctl_priv_hostapd      ## TAILCALL
LBB0_25:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
LBB0_19:
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_3
## %bb.20:
	movq	8(%r15), %rdi
	movl	4(%r14), %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ap_control_del_mac             ## TAILCALL
LBB0_17:
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_3
## %bb.18:
	movq	8(%r15), %rdi
	movl	4(%r14), %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ap_control_add_mac             ## TAILCALL
LBB0_3:
	movq	_EPERM@GOTPCREL(%rip), %rcx
LBB0_26:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_15
	.long	L0_0_set_21
	.long	L0_0_set_2
	.long	L0_0_set_23
	.long	L0_0_set_25
	.long	L0_0_set_19
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_CAP_NET_ADMIN,4,2              ## @CAP_NET_ADMIN
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostap_ioctl                   ; -- Begin function hostap_ioctl
	.p2align	2
_hostap_ioctl:                          ; @hostap_ioctl
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	bl	_netdev_priv
	sub	w8, w20, #128
	cmp	w8, #11
	b.hi	LBB0_20
; %bb.1:
	ldr	x20, [x0]
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_25
; %bb.3:
	ldr	w1, [x19, #4]
	mov	x0, x20
	mov	w2, #1
	mov	w3, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_prism2_wds_del
LBB0_4:
Lloh5:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_25
; %bb.5:
	ldr	w1, [x19, #4]
	mov	x0, x20
	mov	w2, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_prism2_wds_add
LBB0_6:
Lloh8:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_25
; %bb.7:
	ldr	x1, [x19, #8]
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_prism2_ioctl_priv_set_rid_word
LBB0_8:
Lloh11:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_25
; %bb.9:
	ldr	x1, [x19, #8]
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_prism2_ioctl_priv_reset
LBB0_10:
Lloh14:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_25
; %bb.11:
	ldr	x1, [x19, #8]
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_prism2_ioctl_priv_monitor
LBB0_12:
Lloh17:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_25
; %bb.13:
	ldr	x1, [x19, #8]
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ap_mac_cmd_ioctl
LBB0_14:
Lloh20:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_25
; %bb.15:
	ldr	x0, [x20, #8]
	ldr	w1, [x20]
	ldr	w2, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ap_control_kick_mac
LBB0_16:
Lloh23:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_25
; %bb.17:
	ldr	x1, [x19, #8]
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_prism2_ioctl_priv_inquire
LBB0_18:
Lloh26:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_25
; %bb.19:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_prism2_ioctl_priv_hostapd
LBB0_20:
Lloh29:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_26
LBB0_21:
Lloh31:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh32:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_25
; %bb.22:
	ldr	x0, [x20, #8]
	ldr	w1, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ap_control_del_mac
LBB0_23:
Lloh34:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_25
; %bb.24:
	ldr	x0, [x20, #8]
	ldr	w1, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ap_control_add_mac
LBB0_25:
Lloh37:
	adrp	x8, _EPERM@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
LBB0_26:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_20-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_23-LBB0_2)>>2
                                        ; -- End function
	.comm	_CAP_NET_ADMIN,4,2              ; @CAP_NET_ADMIN
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
.subsections_via_symbols
