	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hwmp_ioctl_set80211
_hwmp_ioctl_set80211:                   ## @hwmp_ioctl_set80211
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_IEEE80211_M_MBSS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	8(%rdi), %rax
	movl	(%rsi), %ecx
	cmpl	$129, %ecx
	je	LBB0_6
## %bb.2:
	cmpl	$128, %ecx
	jne	LBB0_5
## %bb.3:
	movl	4(%rsi), %ecx
	cmpl	$4, %ecx
	jae	LBB0_7
## %bb.4:
	movl	%ecx, (%rax)
	callq	_hwmp_rootmode_setup
	jmp	LBB0_10
LBB0_5:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movl	4(%rsi), %ecx
	leal	-256(%rcx), %edx
	cmpl	$-256, %edx
	ja	LBB0_9
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_9:
	movl	%ecx, 4(%rax)
LBB0_10:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_M_MBSS,8,3           ## @IEEE80211_M_MBSS
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_hwmp_ioctl_set80211
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hwmp_ioctl_set80211
_hwmp_ioctl_set80211:                   ; @hwmp_ioctl_set80211
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _IEEE80211_M_MBSS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_M_MBSS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	w9, [x1]
	cmp	w9, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w9, #128
	b.ne	LBB0_5
; %bb.3:
	ldr	w9, [x1, #4]
	cmp	w9, #4
	b.hs	LBB0_7
; %bb.4:
	str	w9, [x8]
	bl	_hwmp_rootmode_setup
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh3:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	ldr	w9, [x1, #4]
	sub	w10, w9, #256
	cmn	w10, #256
	b.hi	LBB0_9
LBB0_7:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w0, #0
	str	w9, [x8, #4]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_M_MBSS,8,3           ; @IEEE80211_M_MBSS
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_hwmp_ioctl_set80211
.subsections_via_symbols
