	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1251_tx_parse_status
_wl1251_tx_parse_status:                ## @wl1251_tx_parse_status
	.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
	movl	%edi, %r15d
	leaq	_wl1251_tx_parse_status.buf(%rip), %r14
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$9, %edx
	callq	_memset
	movq	_TX_DMA_ERROR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_2
## %bb.1:
	movb	$109, _wl1251_tx_parse_status.buf(%rip)
	movl	$1, %ebx
LBB0_2:
	movq	_TX_DISABLED@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movl	%ebx, %eax
	incl	%ebx
	movb	$100, (%rax,%r14)
LBB0_4:
	movq	_TX_RETRY_EXCEEDED@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_6
## %bb.5:
	movl	%ebx, %eax
	incl	%ebx
	movb	$114, (%rax,%r14)
LBB0_6:
	movq	_TX_TIMEOUT@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.7:
	movl	%ebx, %eax
	incl	%ebx
	movb	$116, (%rax,%r14)
LBB0_8:
	movq	_TX_KEY_NOT_FOUND@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_10
## %bb.9:
	movl	%ebx, %eax
	incl	%ebx
	movb	$107, (%rax,%r14)
LBB0_10:
	movq	_TX_ENCRYPT_FAIL@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_12
## %bb.11:
	movl	%ebx, %eax
	incl	%ebx
	movb	$101, (%rax,%r14)
LBB0_12:
	movq	_TX_UNAVAILABLE_PRIORITY@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_14
## %bb.13:
	movl	%ebx, %eax
	movb	$112, (%rax,%r14)
LBB0_14:
	leaq	_wl1251_tx_parse_status.buf(%rip), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_wl1251_tx_parse_status.buf,9,0 ## @wl1251_tx_parse_status.buf
	.comm	_TX_DMA_ERROR,4,2               ## @TX_DMA_ERROR
	.comm	_TX_DISABLED,4,2                ## @TX_DISABLED
	.comm	_TX_RETRY_EXCEEDED,4,2          ## @TX_RETRY_EXCEEDED
	.comm	_TX_TIMEOUT,4,2                 ## @TX_TIMEOUT
	.comm	_TX_KEY_NOT_FOUND,4,2           ## @TX_KEY_NOT_FOUND
	.comm	_TX_ENCRYPT_FAIL,4,2            ## @TX_ENCRYPT_FAIL
	.comm	_TX_UNAVAILABLE_PRIORITY,4,2    ## @TX_UNAVAILABLE_PRIORITY
	.no_dead_strip	_wl1251_tx_parse_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl1251_tx_parse_status
_wl1251_tx_parse_status:                ; @wl1251_tx_parse_status
	.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	x20, x0
Lloh0:
	adrp	x19, _wl1251_tx_parse_status.buf@PAGE
Lloh1:
	add	x19, x19, _wl1251_tx_parse_status.buf@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w2, #9
	bl	_memset
Lloh2:
	adrp	x8, _TX_DMA_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TX_DMA_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #109
	adrp	x9, _wl1251_tx_parse_status.buf@PAGE
	strb	w8, [x9, _wl1251_tx_parse_status.buf@PAGEOFF]
	mov	w8, #1
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
Lloh5:
	adrp	x9, _TX_DISABLED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TX_DISABLED@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_5
; %bb.4:
	mov	w9, #100
	strb	w9, [x19, w8, uxtw]
	add	w8, w8, #1
LBB0_5:
Lloh8:
	adrp	x9, _TX_RETRY_EXCEEDED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TX_RETRY_EXCEEDED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_7
; %bb.6:
	mov	w9, #114
	strb	w9, [x19, w8, uxtw]
	add	w8, w8, #1
LBB0_7:
Lloh11:
	adrp	x9, _TX_TIMEOUT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TX_TIMEOUT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_9
; %bb.8:
	mov	w9, #116
	strb	w9, [x19, w8, uxtw]
	add	w8, w8, #1
LBB0_9:
Lloh14:
	adrp	x9, _TX_KEY_NOT_FOUND@GOTPAGE
Lloh15:
	ldr	x9, [x9, _TX_KEY_NOT_FOUND@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_11
; %bb.10:
	mov	w9, #107
	strb	w9, [x19, w8, uxtw]
	add	w8, w8, #1
LBB0_11:
Lloh17:
	adrp	x9, _TX_ENCRYPT_FAIL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TX_ENCRYPT_FAIL@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_13
; %bb.12:
	mov	w9, #101
	strb	w9, [x19, w8, uxtw]
	add	w8, w8, #1
LBB0_13:
Lloh20:
	adrp	x9, _TX_UNAVAILABLE_PRIORITY@GOTPAGE
Lloh21:
	ldr	x9, [x9, _TX_UNAVAILABLE_PRIORITY@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_15
; %bb.14:
	mov	w9, #112
	strb	w9, [x19, w8, uxtw]
LBB0_15:
Lloh23:
	adrp	x0, _wl1251_tx_parse_status.buf@PAGE
Lloh24:
	add	x0, x0, _wl1251_tx_parse_status.buf@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_wl1251_tx_parse_status.buf,9,0 ; @wl1251_tx_parse_status.buf
	.comm	_TX_DMA_ERROR,4,2               ; @TX_DMA_ERROR
	.comm	_TX_DISABLED,4,2                ; @TX_DISABLED
	.comm	_TX_RETRY_EXCEEDED,4,2          ; @TX_RETRY_EXCEEDED
	.comm	_TX_TIMEOUT,4,2                 ; @TX_TIMEOUT
	.comm	_TX_KEY_NOT_FOUND,4,2           ; @TX_KEY_NOT_FOUND
	.comm	_TX_ENCRYPT_FAIL,4,2            ; @TX_ENCRYPT_FAIL
	.comm	_TX_UNAVAILABLE_PRIORITY,4,2    ; @TX_UNAVAILABLE_PRIORITY
	.no_dead_strip	_wl1251_tx_parse_status
.subsections_via_symbols
