	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cc2520_cmd_strobe
_cc2520_cmd_strobe:                     ## @cc2520_cmd_strobe
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)
	movq	%rax, -48(%rbp)
	movl	$0, -40(%rbp)
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	callq	_spi_message_init
	leaq	-56(%rbp), %rdi
	movq	%r15, %rsi
	callq	_spi_message_add_tail
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	(%rbx), %rax
	movslq	-40(%rbp), %rcx
	leal	1(%rcx), %edx
	movl	%edx, -40(%rbp)
	movl	%r12d, (%rax,%rcx,4)
	movq	16(%rbx), %rdi
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_vdbg
	movq	16(%rbx), %rdi
	movq	%r15, %rsi
	callq	_spi_sync
	movl	%eax, %r15d
	movq	(%rbx), %rax
	movq	16(%rbx), %rdi
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_vdbg
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%r15d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"command strobe buf[0] = %02x\n"

L_.str.1:                               ## @.str.1
	.asciz	"buf[0] = %02x\n"

	.no_dead_strip	_cc2520_cmd_strobe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cc2520_cmd_strobe
_cc2520_cmd_strobe:                     ; @cc2520_cmd_strobe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
	ldr	x8, [x0]
	stp	x8, x8, [sp]
	str	wzr, [sp, #16]
	add	x0, sp, #24
	bl	_spi_message_init
	mov	x0, sp
	add	x1, sp, #24
	bl	_spi_message_add_tail
	add	x21, x20, #8
	mov	x0, x21
	bl	_mutex_lock
	ldr	x8, [x20]
	ldrsw	x9, [sp, #16]
	add	w10, w9, #1
	str	w10, [sp, #16]
	str	w19, [x8, x9, lsl #2]
	ldr	x0, [x20, #16]
	ldr	w2, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_vdbg
	ldr	x0, [x20, #16]
	add	x1, sp, #24
	bl	_spi_sync
	mov	x19, x0
	ldr	x0, [x20, #16]
	ldr	x8, [x20]
	ldr	w2, [x8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_vdbg
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"command strobe buf[0] = %02x\n"

l_.str.1:                               ; @.str.1
	.asciz	"buf[0] = %02x\n"

	.no_dead_strip	_cc2520_cmd_strobe
.subsections_via_symbols
