	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxd2880_spi_device_create_spi  ## -- Begin function cxd2880_spi_device_create_spi
	.p2align	4, 0x90
_cxd2880_spi_device_create_spi:         ## @cxd2880_spi_device_create_spi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	$0, 24(%rdi)
	movq	_cxd2880_spi_device_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rdi)
	movq	_cxd2880_spi_device_write_read@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	$0, 8(%rdi)
	movq	%rsi, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_cxd2880_spi_device_write,4,2   ## @cxd2880_spi_device_write
	.comm	_cxd2880_spi_device_write_read,4,2 ## @cxd2880_spi_device_write_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxd2880_spi_device_create_spi  ; -- Begin function cxd2880_spi_device_create_spi
	.p2align	2
_cxd2880_spi_device_create_spi:         ; @cxd2880_spi_device_create_spi
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
; %bb.1:
	cbz	x1, LBB0_3
; %bb.2:
	mov	x8, x0
	mov	w0, #0
	str	xzr, [x8, #24]
Lloh0:
	adrp	x9, _cxd2880_spi_device_write@GOTPAGE
Lloh1:
	ldr	x9, [x9, _cxd2880_spi_device_write@GOTPAGEOFF]
Lloh2:
	adrp	x10, _cxd2880_spi_device_write_read@GOTPAGE
Lloh3:
	ldr	x10, [x10, _cxd2880_spi_device_write_read@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	ldr	w10, [x10]
	stp	w10, w9, [x8, #16]
	stp	x1, xzr, [x8]
	ret
LBB0_3:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_cxd2880_spi_device_write,4,2   ; @cxd2880_spi_device_write
	.comm	_cxd2880_spi_device_write_read,4,2 ; @cxd2880_spi_device_write_read
.subsections_via_symbols
