	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_get_power_save
_nl80211_get_power_save:                ## @nl80211_get_power_save
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rsi), %rax
	movq	(%rax), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_1
## %bb.3:
	movq	%rsi, %r15
	movq	8(%rax), %rax
	movq	8(%rax), %r13
	movq	_NLMSG_DEFAULT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nlmsg_new
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	_NL80211_CMD_GET_POWER_SAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_nl80211hdr_put
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%rax, %r12
	cmpq	$0, (%r13)
	jne	LBB0_7
## %bb.8:
	movq	_NL80211_PS_DISABLED@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_7:
	movq	_NL80211_PS_ENABLED@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edx
	movq	_NL80211_ATTR_PS_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	je	LBB0_12
LBB0_10:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_nlmsg_free
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_genlmsg_end
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_genlmsg_reply                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ## @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NL80211_CMD_GET_POWER_SAVE,4,2 ## @NL80211_CMD_GET_POWER_SAVE
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_NL80211_PS_ENABLED,4,2         ## @NL80211_PS_ENABLED
	.comm	_NL80211_PS_DISABLED,4,2        ## @NL80211_PS_DISABLED
	.comm	_NL80211_ATTR_PS_STATE,4,2      ## @NL80211_ATTR_PS_STATE
	.no_dead_strip	_nl80211_get_power_save
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_get_power_save
_nl80211_get_power_save:                ; @nl80211_get_power_save
	.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
	ldr	x8, [x1, #8]
	ldr	x9, [x8]
	ldr	x9, [x9]
	ldr	w9, [x9]
	cbz	w9, LBB0_5
; %bb.1:
	mov	x19, x1
	ldr	x8, [x8, #8]
	ldr	x22, [x8, #8]
Lloh0:
	adrp	x8, _NLMSG_DEFAULT_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NLMSG_DEFAULT_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_nlmsg_new
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
	ldp	w2, w1, [x19]
Lloh6:
	adrp	x8, _NL80211_CMD_GET_POWER_SAVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NL80211_CMD_GET_POWER_SAVE@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	w3, #0
	bl	_nl80211hdr_put
	cbz	x0, LBB0_4
; %bb.3:
	mov	x21, x0
	ldr	x8, [x22]
Lloh9:
	adrp	x9, _NL80211_PS_DISABLED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NL80211_PS_DISABLED@GOTPAGEOFF]
Lloh11:
	adrp	x10, _NL80211_PS_ENABLED@GOTPAGE
Lloh12:
	ldr	x10, [x10, _NL80211_PS_ENABLED@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
Lloh13:
	adrp	x8, _NL80211_ATTR_PS_STATE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NL80211_ATTR_PS_STATE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_nla_put_u32
	cbz	x0, LBB0_9
LBB0_4:
Lloh16:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w19, w8
	mov	x0, x20
	bl	_nlmsg_free
	b	LBB0_8
LBB0_5:
Lloh19:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_8:
	mov	x0, 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
	ret
LBB0_9:
	mov	x0, x20
	mov	x1, x21
	bl	_genlmsg_end
	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	_genlmsg_reply
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ; @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NL80211_CMD_GET_POWER_SAVE,4,2 ; @NL80211_CMD_GET_POWER_SAVE
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_NL80211_PS_ENABLED,4,2         ; @NL80211_PS_ENABLED
	.comm	_NL80211_PS_DISABLED,4,2        ; @NL80211_PS_DISABLED
	.comm	_NL80211_ATTR_PS_STATE,4,2      ; @NL80211_ATTR_PS_STATE
	.no_dead_strip	_nl80211_get_power_save
.subsections_via_symbols
