	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl12xx_tm_cmd_get_mac
_wl12xx_tm_cmd_get_mac:                 ## @wl12xx_tm_cmd_get_mac
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_ETH_ALEN@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	cmpl	$0, 24(%rbx)
	je	LBB0_1
## %bb.3:
	movslq	(%rbx), %rcx
	movslq	4(%rbx), %rax
	movl	%eax, %edx
	orl	%ecx, %edx
	jne	LBB0_5
## %bb.4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_5:
	movl	%ecx, %edx
	sarl	$16, %edx
	movslq	%edx, %rdx
	movq	%rdx, (%r15)
	movl	%ecx, %edx
	sarl	$8, %edx
	movslq	%edx, %rdx
	movq	%rdx, 8(%r15)
	movq	%rcx, 16(%r15)
	movl	%eax, %ecx
	sarl	$16, %ecx
	movslq	%ecx, %rcx
	movq	%rcx, 24(%r15)
	movl	%eax, %ecx
	sarl	$8, %ecx
	movslq	%ecx, %rcx
	movq	%rcx, 32(%r15)
	movq	%rax, 40(%r15)
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	callq	_cfg80211_testmode_alloc_reply_skb
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	movq	_WL1271_TM_ATTR_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movq	%r15, %rcx
	callq	_nla_put
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	callq	_kfree_skb
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%ebx, %eax
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	_cfg80211_testmode_reply
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_WL1271_TM_ATTR_DATA,4,2        ## @WL1271_TM_ATTR_DATA
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_wl12xx_tm_cmd_get_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function wl12xx_tm_cmd_get_mac
lCPI0_0:
	.long	4294967280                      ; 0xfffffff0
	.long	4294967288                      ; 0xfffffff8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_wl12xx_tm_cmd_get_mac:                 ; @wl12xx_tm_cmd_get_mac
	.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
	sub	sp, sp, #16
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x22, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x22]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	add	x19, x0, #8
	mov	x0, x19
	bl	_mutex_lock
	ldr	w8, [x21, #24]
	cbz	w8, LBB0_3
; %bb.1:
	ldpsw	x9, x8, [x21]
	orr	w10, w9, w8
	cbnz	w10, LBB0_4
; %bb.2:
Lloh7:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	dup.2s	v0, w9
Lloh11:
	adrp	x10, lCPI0_0@PAGE
Lloh12:
	ldr	d1, [x10, lCPI0_0@PAGEOFF]
	sshl.2s	v0, v0, v1
	sshll.2d	v0, v0, #0
	str	q0, [x20]
	str	x9, [x20, #16]
	dup.2s	v0, w8
	sshl.2s	v0, v0, v1
	sshll.2d	v0, v0, #0
	stur	q0, [x20, #24]
	str	x8, [x20, #40]
	ldr	x8, [x21, #16]
	ldr	w0, [x8]
	ldr	w1, [x22]
	bl	_cfg80211_testmode_alloc_reply_skb
	cbz	x0, LBB0_7
; %bb.5:
	mov	x21, x0
Lloh13:
	adrp	x8, _WL1271_TM_ATTR_DATA@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WL1271_TM_ATTR_DATA@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x3, x20
	bl	_nla_put
	cbz	x0, LBB0_11
; %bb.6:
	mov	x0, x21
	bl	_kfree_skb
Lloh16:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_9:
	mov	x0, x19
	bl	_mutex_unlock
	ldur	x8, [x29, #-40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.10:
	mov	x0, x20
	sub	sp, x29, #32
	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_11:
	mov	x0, x21
	bl	_cfg80211_testmode_reply
	mov	x20, x0
	b	LBB0_9
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_WL1271_TM_ATTR_DATA,4,2        ; @WL1271_TM_ATTR_DATA
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_wl12xx_tm_cmd_get_mac
.subsections_via_symbols
