	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set80211powersavemode
_set80211powersavemode:                 ## @set80211powersavemode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:
	movq	_IEEE80211_POWERSAVE_PSP_CAM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_1:
	movq	_IEEE80211_POWERSAVE_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	_IEEE80211_POWERSAVE_ON@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_5:
	movq	_IEEE80211_POWERSAVE_CAM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:
	movq	_IEEE80211_POWERSAVE_PSP@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %edx
	movq	_IEEE80211_IOC_POWERSAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_set80211                       ## TAILCALL
LBB0_11:
	callq	_set80211powersavemode.cold.1
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function set80211powersavemode.cold.1
_set80211powersavemode.cold.1:          ## @set80211powersavemode.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.5(%rip), %rsi
	pushq	$1
	popq	%rdi
	callq	_errx
	ud2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"off"

	.comm	_IEEE80211_POWERSAVE_OFF,4,2    ## @IEEE80211_POWERSAVE_OFF
L_.str.1:                               ## @.str.1
	.asciz	"on"

	.comm	_IEEE80211_POWERSAVE_ON,4,2     ## @IEEE80211_POWERSAVE_ON
L_.str.2:                               ## @.str.2
	.asciz	"cam"

	.comm	_IEEE80211_POWERSAVE_CAM,4,2    ## @IEEE80211_POWERSAVE_CAM
L_.str.3:                               ## @.str.3
	.asciz	"psp"

	.comm	_IEEE80211_POWERSAVE_PSP,4,2    ## @IEEE80211_POWERSAVE_PSP
L_.str.4:                               ## @.str.4
	.asciz	"psp-cam"

	.comm	_IEEE80211_POWERSAVE_PSP_CAM,4,2 ## @IEEE80211_POWERSAVE_PSP_CAM
L_.str.5:                               ## @.str.5
	.asciz	"unknown powersavemode"

	.comm	_IEEE80211_IOC_POWERSAVE,4,2    ## @IEEE80211_IOC_POWERSAVE
	.no_dead_strip	_set80211powersavemode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set80211powersavemode
_set80211powersavemode:                 ; @set80211powersavemode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcasecmp
	cbz	x0, LBB0_6
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_7
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_8
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_9
; %bb.4:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbnz	x0, LBB0_11
; %bb.5:
Lloh10:
	adrp	x8, _IEEE80211_POWERSAVE_PSP_CAM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IEEE80211_POWERSAVE_PSP_CAM@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh12:
	adrp	x8, _IEEE80211_POWERSAVE_OFF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_POWERSAVE_OFF@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh14:
	adrp	x8, _IEEE80211_POWERSAVE_ON@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IEEE80211_POWERSAVE_ON@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh16:
	adrp	x8, _IEEE80211_POWERSAVE_CAM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IEEE80211_POWERSAVE_CAM@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh18:
	adrp	x8, _IEEE80211_POWERSAVE_PSP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IEEE80211_POWERSAVE_PSP@GOTPAGEOFF]
LBB0_10:
	ldr	w2, [x8]
Lloh20:
	adrp	x8, _IEEE80211_IOC_POWERSAVE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IEEE80211_IOC_POWERSAVE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w3, #0
	mov	x4, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set80211
LBB0_11:
	bl	_set80211powersavemode.cold.1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function set80211powersavemode.cold.1
_set80211powersavemode.cold.1:          ; @set80211powersavemode.cold.1
	.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
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_errx
	brk	#0x1
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"off"

	.comm	_IEEE80211_POWERSAVE_OFF,4,2    ; @IEEE80211_POWERSAVE_OFF
l_.str.1:                               ; @.str.1
	.asciz	"on"

	.comm	_IEEE80211_POWERSAVE_ON,4,2     ; @IEEE80211_POWERSAVE_ON
l_.str.2:                               ; @.str.2
	.asciz	"cam"

	.comm	_IEEE80211_POWERSAVE_CAM,4,2    ; @IEEE80211_POWERSAVE_CAM
l_.str.3:                               ; @.str.3
	.asciz	"psp"

	.comm	_IEEE80211_POWERSAVE_PSP,4,2    ; @IEEE80211_POWERSAVE_PSP
l_.str.4:                               ; @.str.4
	.asciz	"psp-cam"

	.comm	_IEEE80211_POWERSAVE_PSP_CAM,4,2 ; @IEEE80211_POWERSAVE_PSP_CAM
l_.str.5:                               ; @.str.5
	.asciz	"unknown powersavemode"

	.comm	_IEEE80211_IOC_POWERSAVE,4,2    ; @IEEE80211_IOC_POWERSAVE
	.no_dead_strip	_set80211powersavemode
.subsections_via_symbols
