	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_ioctl_setmaccmd
_ieee80211_ioctl_setmaccmd:             ## @ieee80211_ioctl_setmaccmd
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movl	(%rsi), %esi
	leal	-128(%rsi), %eax
	cmpl	$4, %eax
	jae	LBB0_1
## %bb.6:
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_11:
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	*24(%rbx)
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_1:
	cmpl	$132, %esi
	je	LBB0_12
## %bb.2:
	cmpl	$133, %esi
	jne	LBB0_14
## %bb.3:
	xorl	%r15d, %r15d
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movq	$0, (%r14)
	movq	%r14, %rdi
	callq	*8(%rbx)
	jmp	LBB0_5
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	_ieee80211_aclator_get
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	*32(%rax)
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movq	%rbx, (%r14)
	movl	(%r15), %esi
	jmp	LBB0_11
LBB0_12:
	xorl	%r15d, %r15d
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.13:
	movq	%r14, %rdi
	callq	*16(%rbx)
	jmp	LBB0_5
LBB0_14:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.15:
	movq	(%rbx), %rax
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ieee80211_ioctl_setmaccmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_ioctl_setmaccmd
_ieee80211_ioctl_setmaccmd:             ; @ieee80211_ioctl_setmaccmd
	.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	x21, x1
	mov	x19, x0
	ldr	x20, [x0]
	ldr	w1, [x1]
	sub	w8, w1, #128
	cmp	w8, #4
	b.hs	LBB0_3
; %bb.1:
	cbz	x20, LBB0_7
LBB0_2:
	ldr	x8, [x20, #24]
	mov	x0, x19
	blr	x8
	b	LBB0_13
LBB0_3:
	cmp	w1, #132
	b.eq	LBB0_10
; %bb.4:
	cmp	w1, #133
	b.ne	LBB0_14
; %bb.5:
	cbz	x20, LBB0_13
; %bb.6:
	str	xzr, [x19]
	ldr	x8, [x20, #8]
	b	LBB0_12
LBB0_7:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ieee80211_aclator_get
	cbz	x0, LBB0_16
; %bb.8:
	mov	x20, x0
	ldr	x8, [x0, #32]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_16
; %bb.9:
	str	x20, [x19]
	ldr	w1, [x21]
	b	LBB0_2
LBB0_10:
	cbz	x20, LBB0_13
; %bb.11:
	ldr	x8, [x20, #16]
LBB0_12:
	mov	x0, x19
	blr	x8
LBB0_13:
	mov	w0, #0
	b	LBB0_17
LBB0_14:
	cbz	x20, LBB0_16
; %bb.15:
	ldr	x2, [x20]
	mov	x0, x19
	mov	x1, 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
	br	x2
LBB0_16:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_17:
	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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ieee80211_ioctl_setmaccmd
.subsections_via_symbols
