	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at86rf230_rx_trac_check
_at86rf230_rx_trac_check:               ## @at86rf230_rx_trac_check
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movq	16(%rdi), %r14
	movq	_CONFIG_IEEE802154_AT86RF230_DEBUGFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movl	4(%r15), %edi
	callq	_TRAC_MASK
	cmpl	$128, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$130, %eax
	je	LBB0_6
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.4:
	incl	12(%r14)
	jmp	LBB0_8
LBB0_5:
	incl	8(%r14)
	jmp	LBB0_8
LBB0_6:
	incl	4(%r14)
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	callq	_WARN_ONCE
LBB0_8:
	movq	_CMD_FB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_AT86RF2XX_MAX_BUF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_at86rf230_rx_read_frame_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	12(%rbx), %rsi
	movl	%eax, 12(%rbx)
	movl	(%r14), %edi
	callq	_spi_async
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	$2, 8(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_at86rf230_async_error          ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_IEEE802154_AT86RF230_DEBUGFS,4,2 ## @CONFIG_IEEE802154_AT86RF230_DEBUGFS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"received rx trac status %d\n"

	.comm	_CMD_FB,4,2                     ## @CMD_FB
	.comm	_AT86RF2XX_MAX_BUF,4,2          ## @AT86RF2XX_MAX_BUF
	.comm	_at86rf230_rx_read_frame_complete,4,2 ## @at86rf230_rx_read_frame_complete
	.no_dead_strip	_at86rf230_rx_trac_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at86rf230_rx_trac_check
_at86rf230_rx_trac_check:               ; @at86rf230_rx_trac_check
	.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
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _CONFIG_IEEE802154_AT86RF230_DEBUGFS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG_IEEE802154_AT86RF230_DEBUGFS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	x0, LBB0_8
; %bb.1:
	ldr	w0, [x21, #4]
	bl	_TRAC_MASK
	cmp	w0, #128
	b.eq	LBB0_5
; %bb.2:
	mov	x2, x0
	cmp	w0, #130
	b.eq	LBB0_6
; %bb.3:
	cmp	w2, #129
	b.ne	LBB0_7
; %bb.4:
	ldr	w8, [x20, #12]
	add	w8, w8, #1
	str	w8, [x20, #12]
	b	LBB0_8
LBB0_5:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	b	LBB0_8
LBB0_6:
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
	b	LBB0_8
LBB0_7:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN_ONCE
LBB0_8:
Lloh5:
	adrp	x8, _CMD_FB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CMD_FB@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x21]
Lloh8:
	adrp	x8, _AT86RF2XX_MAX_BUF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AT86RF2XX_MAX_BUF@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _at86rf230_rx_read_frame_complete@GOTPAGE
Lloh12:
	ldr	x9, [x9, _at86rf230_rx_read_frame_complete@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	mov	x1, x19
	str	w9, [x1, #12]!
	stur	w8, [x1, #-4]
	ldr	w0, [x20]
	bl	_spi_async
	cbz	w0, LBB0_10
; %bb.9:
	mov	x2, x0
	mov	w8, #2
	str	w8, [x19, #8]
	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	_at86rf230_async_error
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_IEEE802154_AT86RF230_DEBUGFS,4,2 ; @CONFIG_IEEE802154_AT86RF230_DEBUGFS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"received rx trac status %d\n"

	.comm	_CMD_FB,4,2                     ; @CMD_FB
	.comm	_AT86RF2XX_MAX_BUF,4,2          ; @AT86RF2XX_MAX_BUF
	.comm	_at86rf230_rx_read_frame_complete,4,2 ; @at86rf230_rx_read_frame_complete
	.no_dead_strip	_at86rf230_rx_trac_check
.subsections_via_symbols
