	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cc2520_get_platform_data
_cc2520_get_platform_data:              ## @cc2520_get_platform_data
	.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	%rsi, %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %r13
	callq	_spi_get_drvdata
	movq	%rax, %r14
	testq	%r13, %r13
	je	LBB0_1
## %bb.4:
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_of_get_named_gpio
	movq	%rax, 40(%r12)
	movq	%rax, 8(%r14)
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_of_get_named_gpio
	movq	%rax, 32(%r12)
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_of_get_named_gpio
	movq	%rax, 24(%r12)
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_of_get_named_gpio
	movq	%rax, 16(%r12)
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_of_get_named_gpio
	movq	%rax, 8(%r12)
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_of_get_named_gpio
	movq	%rax, (%r12)
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_of_property_read_bool
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	$1, (%r14)
	jmp	LBB0_6
LBB0_1:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movups	%xmm2, 32(%r12)
	movups	%xmm1, 16(%r12)
	movups	%xmm0, (%r12)
	movq	40(%r12), %rax
	movq	%rax, 8(%r14)
	xorl	%r15d, %r15d
	jmp	LBB0_6
LBB0_2:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fifo-gpio"

L_.str.1:                               ## @.str.1
	.asciz	"fifop-gpio"

L_.str.2:                               ## @.str.2
	.asciz	"sfd-gpio"

L_.str.3:                               ## @.str.3
	.asciz	"cca-gpio"

L_.str.4:                               ## @.str.4
	.asciz	"vreg-gpio"

L_.str.5:                               ## @.str.5
	.asciz	"reset-gpio"

L_.str.6:                               ## @.str.6
	.asciz	"amplified"

	.no_dead_strip	_cc2520_get_platform_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cc2520_get_platform_data
_cc2520_get_platform_data:              ; @cc2520_get_platform_data
	.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	x20, x1
	mov	x22, x0
	ldr	x21, [x0, #8]
	bl	_spi_get_drvdata
	mov	x19, x0
	cbz	x21, LBB0_3
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_of_get_named_gpio
	str	x0, [x20, #40]
	str	x0, [x19, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_of_get_named_gpio
	str	x0, [x20, #32]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_of_get_named_gpio
	str	x0, [x20, #24]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_of_get_named_gpio
	str	x0, [x20, #16]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_of_get_named_gpio
	str	x0, [x20, #8]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_of_get_named_gpio
	str	x0, [x20]
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_of_property_read_bool
	cbz	x0, LBB0_6
; %bb.2:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_6
LBB0_3:
	ldr	x8, [x22]
	cbz	x8, LBB0_5
; %bb.4:
	mov	w0, #0
	ldp	q0, q1, [x8]
	ldr	q2, [x8, #32]
	stp	q1, q2, [x20, #16]
	str	q0, [x20]
	ldr	x8, [x20, #40]
	str	x8, [x19, #8]
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _ENOENT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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 AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fifo-gpio"

l_.str.1:                               ; @.str.1
	.asciz	"fifop-gpio"

l_.str.2:                               ; @.str.2
	.asciz	"sfd-gpio"

l_.str.3:                               ; @.str.3
	.asciz	"cca-gpio"

l_.str.4:                               ; @.str.4
	.asciz	"vreg-gpio"

l_.str.5:                               ; @.str.5
	.asciz	"reset-gpio"

l_.str.6:                               ; @.str.6
	.asciz	"amplified"

	.no_dead_strip	_cc2520_get_platform_data
.subsections_via_symbols
