	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_spi_transfer
_bcm_spi_transfer:                      ## @bcm_spi_transfer
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movl	%edi, %r14d
	callq	_device_get_softc
	movq	%rax, %r15
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	8(%rbx), %rax
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movq	16(%rbx), %rax
	xorl	%edi, %edi
	cmpq	24(%rbx), %rax
	sete	%dil
	leaq	L_.str.1(%rip), %rsi
	callq	_KASSERT
	leaq	-52(%rbp), %rsi
	movl	%r12d, %edi
	callq	_spibus_get_cs
	movl	-52(%rbp), %r13d
	movq	_SPIBUS_CS_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%r13d, %eax
	cmpl	$3, %eax
	jl	LBB0_4
## %bb.1:
	movl	%r12d, %edi
	callq	_device_get_nameunit
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	leaq	-44(%rbp), %rsi
	movl	%r12d, %edi
	callq	_spibus_get_clock
	cmpl	$0, -44(%rbp)
	je	LBB0_5
## %bb.6:
	leaq	-48(%rbp), %rsi
	movl	%r12d, %edi
	callq	_spibus_get_mode
	movl	-48(%rbp), %r13d
	cmpl	$4, %r13d
	jl	LBB0_8
## %bb.7:
	movl	%r12d, %edi
	callq	_device_get_nameunit
	leaq	L_.str.4(%rip), %rsi
LBB0_2:
	movl	%r14d, %edi
	movl	%r13d, %edx
	jmp	LBB0_3
LBB0_5:
	movl	%r12d, %edi
	callq	_device_get_nameunit
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edi
	xorl	%edx, %edx
LBB0_3:
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_device_printf
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_BCM_SPI_LOCK
	movq	_BCM_SPI_BUSY@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, (%r15)
	je	LBB0_11
## %bb.9:
	leaq	20(%r15), %rbx
	leaq	L_.str.5(%rip), %r12
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_mtx_sleep
	movl	(%r13), %eax
	testl	%eax, (%r15)
	jne	LBB0_10
LBB0_11:
	movl	%eax, (%r15)
	movq	_SPI_CS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_SPI_CS_CLEAR_RXFIFO@GOTPCREL(%rip), %rax
	movq	_SPI_CS_CLEAR_TXFIFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ecx, %edx
	callq	_bcm_spi_modifyreg
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 40(%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r15)
	movq	16(%rcx), %rax
	addq	(%rcx), %rax
	movq	%rax, 8(%r15)
	movq	_SPI_CS_CPOL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SPI_CS_CPHA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %edx
	orl	%eax, %edx
	movl	-48(%rbp), %ecx
	movq	_SPIBUS_MODE_CPHA@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%ecx, %edi
	cmovnel	%esi, %edi
	movq	_SPIBUS_MODE_CPOL@GOTPCREL(%rip), %rsi
	andl	(%rsi), %ecx
	movl	(%rbx), %esi
	cmovnel	%eax, %ecx
	orl	%edi, %ecx
	movq	%r15, %rdi
	callq	_bcm_spi_modifyreg
	movq	_SPI_CORE_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	-44(%rbp)
	movl	%eax, -44(%rbp)
	cmpl	$1, %eax
	jg	LBB0_13
## %bb.12:
	movl	$2, -44(%rbp)
	movl	$2, %eax
	jmp	LBB0_16
LBB0_13:
	movl	%eax, %ecx
	andl	$-2, %ecx
	cmpl	$65535, %ecx                    ## imm = 0xFFFF
	ja	LBB0_15
## %bb.14:
	movl	%eax, %edx
	andl	$1, %edx
	je	LBB0_16
LBB0_15:
	xorl	%eax, %eax
	cmpl	$65536, %ecx                    ## imm = 0x10000
	cmovbl	%ecx, %eax
	movl	%eax, -44(%rbp)
LBB0_16:
	movq	_SPI_CLK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_BCM_SPI_WRITE
	movl	(%rbx), %esi
	movq	_SPI_CS_MASK@GOTPCREL(%rip), %rax
	movq	_SPI_CS_TA@GOTPCREL(%rip), %rdx
	movq	_SPI_CS_INTR@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	_SPI_CS_INTD@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	orl	(%rdx), %ecx
	movl	(%rax), %edx
	orl	%ecx, %edx
	orl	%edi, %edx
	movq	_SPIBUS_CS_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	-52(%rbp), %eax
	orl	%edi, %ecx
	orl	%eax, %ecx
	movq	%r15, %rdi
	callq	_bcm_spi_modifyreg
	movq	%r15, %rsi
	addq	$20, %rsi
	movq	_hz@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	addl	%r8d, %r8d
	leaq	L_.str.5(%rip), %rcx
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_mtx_sleep
	movq	%rbx, %rcx
	movl	%eax, %ebx
	movl	(%rcx), %esi
	movl	(%r13), %edx
	movq	_SPI_CS_TA@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	orl	(%r12), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_bcm_spi_modifyreg
	movl	$0, (%r15)
	movl	%r14d, %edi
	callq	_wakeup_one
	movq	%r15, %rdi
	callq	_BCM_SPI_UNLOCK
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_19
## %bb.17:
	movl	16(%r15), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_device_printf
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TX/RX command sizes should be equal"

L_.str.1:                               ## @.str.1
	.asciz	"TX/RX data sizes should be equal"

	.comm	_SPIBUS_CS_HIGH,4,2             ## @SPIBUS_CS_HIGH
L_.str.2:                               ## @.str.2
	.asciz	"Invalid chip select %u requested by %s\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"Invalid clock %uHz requested by %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"Invalid mode %u requested by %s\n"

	.comm	_BCM_SPI_BUSY,4,2               ## @BCM_SPI_BUSY
L_.str.5:                               ## @.str.5
	.asciz	"bcm_spi"

	.comm	_SPI_CS,4,2                     ## @SPI_CS
	.comm	_SPI_CS_CLEAR_RXFIFO,4,2        ## @SPI_CS_CLEAR_RXFIFO
	.comm	_SPI_CS_CLEAR_TXFIFO,4,2        ## @SPI_CS_CLEAR_TXFIFO
	.comm	_SPI_CS_CPOL,4,2                ## @SPI_CS_CPOL
	.comm	_SPI_CS_CPHA,4,2                ## @SPI_CS_CPHA
	.comm	_SPIBUS_MODE_CPHA,4,2           ## @SPIBUS_MODE_CPHA
	.comm	_SPIBUS_MODE_CPOL,4,2           ## @SPIBUS_MODE_CPOL
	.comm	_SPI_CORE_CLK,4,2               ## @SPI_CORE_CLK
	.comm	_SPI_CLK,4,2                    ## @SPI_CLK
	.comm	_SPI_CS_MASK,4,2                ## @SPI_CS_MASK
	.comm	_SPI_CS_TA,4,2                  ## @SPI_CS_TA
	.comm	_SPI_CS_INTR,4,2                ## @SPI_CS_INTR
	.comm	_SPI_CS_INTD,4,2                ## @SPI_CS_INTD
	.comm	_hz,4,2                         ## @hz
	.comm	_EWOULDBLOCK,4,2                ## @EWOULDBLOCK
L_.str.6:                               ## @.str.6
	.asciz	"SPI error (timeout)\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_SPI_CS_CSPOL0,4,2              ## @SPI_CS_CSPOL0
	.comm	_SPI_CS_CSPOL1,4,2              ## @SPI_CS_CSPOL1
	.comm	_SPI_CS_CSPOL2,4,2              ## @SPI_CS_CSPOL2
	.no_dead_strip	_bcm_spi_transfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_spi_transfer
_bcm_spi_transfer:                      ; @bcm_spi_transfer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_device_get_softc
	mov	x20, x0
	ldp	x8, x9, [x21]
	cmp	x8, x9
	cset	w0, eq
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	ldp	x8, x9, [x21, #16]
	cmp	x8, x9
	cset	w0, eq
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_KASSERT
	add	x1, sp, #28
	mov	x0, x22
	bl	_spibus_get_cs
	ldr	w23, [sp, #28]
Lloh4:
	adrp	x24, _SPIBUS_CS_HIGH@GOTPAGE
Lloh5:
	ldr	x24, [x24, _SPIBUS_CS_HIGH@GOTPAGEOFF]
	ldr	w8, [x24]
	bic	w8, w23, w8
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_device_get_nameunit
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x23, x0, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_2:
	add	x1, sp, #20
	mov	x0, x22
	bl	_spibus_get_clock
	ldr	w8, [sp, #20]
	cbz	w8, LBB0_5
; %bb.3:
	add	x1, sp, #24
	mov	x0, x22
	bl	_spibus_get_mode
	ldr	w23, [sp, #24]
	cmp	w23, #4
	b.lt	LBB0_9
; %bb.4:
	mov	x0, x22
	bl	_device_get_nameunit
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x23, x0, [sp]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_6
LBB0_5:
	mov	x0, x22
	bl	_device_get_nameunit
                                        ; kill: def $w0 killed $w0 def $x0
	stp	xzr, x0, [sp]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_device_printf
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w21, [x8]
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_9:
	mov	x0, x20
	bl	_BCM_SPI_LOCK
	ldr	w9, [x20]
Lloh14:
	adrp	x25, _BCM_SPI_BUSY@GOTPAGE
Lloh15:
	ldr	x25, [x25, _BCM_SPI_BUSY@GOTPAGEOFF]
	ldr	w8, [x25]
	tst	w8, w9
	b.eq	LBB0_12
; %bb.10:
	add	x22, x20, #20
Lloh16:
	adrp	x23, l_.str.5@PAGE
Lloh17:
	add	x23, x23, l_.str.5@PAGEOFF
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	mov	x3, x23
	mov	w4, #0
	bl	_mtx_sleep
	ldr	w9, [x20]
	ldr	w8, [x25]
	tst	w8, w9
	b.ne	LBB0_11
LBB0_12:
	str	w8, [x20]
Lloh18:
	adrp	x22, _SPI_CS@GOTPAGE
Lloh19:
	ldr	x22, [x22, _SPI_CS@GOTPAGEOFF]
Lloh20:
	adrp	x8, _SPI_CS_CLEAR_RXFIFO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SPI_CS_CLEAR_RXFIFO@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _SPI_CS_CLEAR_TXFIFO@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SPI_CS_CLEAR_TXFIFO@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	mov	x3, x2
	bl	_bcm_spi_modifyreg
	stp	xzr, x21, [x20, #32]
	str	xzr, [x20, #24]
	ldr	x8, [x21]
	ldr	x9, [x21, #16]
	add	x8, x9, x8
	str	x8, [x20, #8]
Lloh26:
	adrp	x8, _SPI_CS_CPOL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SPI_CS_CPOL@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _SPI_CS_CPHA@GOTPAGE
Lloh30:
	ldr	x9, [x9, _SPI_CS_CPHA@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldr	w10, [sp, #24]
Lloh32:
	adrp	x11, _SPIBUS_MODE_CPHA@GOTPAGE
Lloh33:
	ldr	x11, [x11, _SPIBUS_MODE_CPHA@GOTPAGEOFF]
Lloh34:
	ldr	w11, [x11]
	tst	w11, w10
	csel	w9, wzr, w9, eq
Lloh35:
	adrp	x11, _SPIBUS_MODE_CPOL@GOTPAGE
Lloh36:
	ldr	x11, [x11, _SPIBUS_MODE_CPOL@GOTPAGEOFF]
Lloh37:
	ldr	w11, [x11]
	tst	w11, w10
	csel	w8, wzr, w8, eq
	orr	w3, w8, w9
	mov	x0, x20
	bl	_bcm_spi_modifyreg
Lloh38:
	adrp	x8, _SPI_CORE_CLK@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SPI_CORE_CLK@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	ldr	w9, [sp, #20]
	sdiv	w2, w8, w9
	str	w2, [sp, #20]
	cmp	w2, #1
	b.gt	LBB0_14
; %bb.13:
	mov	w2, #2
	b	LBB0_16
LBB0_14:
	and	w8, w2, #0x1
	lsr	w9, w2, #16
	cmp	w9, #0
	ccmp	w8, #0, #0, eq
	b.eq	LBB0_17
; %bb.15:
	and	w8, w2, #0xfffffffe
	lsr	w9, w8, #16
	cmp	w9, #0
	csel	w2, wzr, w8, ne
LBB0_16:
	str	w2, [sp, #20]
LBB0_17:
Lloh41:
	adrp	x8, _SPI_CLK@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SPI_CLK@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_BCM_SPI_WRITE
	ldr	w1, [x22]
Lloh44:
	adrp	x8, _SPI_CS_MASK@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SPI_CS_MASK@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
Lloh47:
	adrp	x23, _SPI_CS_TA@GOTPAGE
Lloh48:
	ldr	x23, [x23, _SPI_CS_TA@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh49:
	adrp	x25, _SPI_CS_INTR@GOTPAGE
Lloh50:
	ldr	x25, [x25, _SPI_CS_INTR@GOTPAGEOFF]
	ldr	w10, [x25]
Lloh51:
	adrp	x26, _SPI_CS_INTD@GOTPAGE
Lloh52:
	ldr	x26, [x26, _SPI_CS_INTD@GOTPAGEOFF]
	ldr	w11, [x26]
	orr	w9, w10, w9
	orr	w8, w9, w8
	orr	w2, w8, w11
	ldr	w8, [sp, #28]
	ldr	w10, [x24]
	bic	w8, w8, w10
	orr	w9, w9, w11
	orr	w3, w9, w8
	mov	x0, x20
	bl	_bcm_spi_modifyreg
	add	x1, x20, #20
Lloh53:
	adrp	x8, _hz@GOTPAGE
Lloh54:
	ldr	x8, [x8, _hz@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	lsl	w4, w8, #1
Lloh56:
	adrp	x3, l_.str.5@PAGE
Lloh57:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	bl	_mtx_sleep
	mov	x21, x0
	ldr	w1, [x22]
	ldr	w8, [x23]
	ldr	w9, [x25]
	orr	w8, w9, w8
	ldr	w9, [x26]
	orr	w2, w8, w9
	mov	x0, x20
	mov	w3, #0
	bl	_bcm_spi_modifyreg
	str	wzr, [x20]
	mov	x0, x19
	bl	_wakeup_one
	mov	x0, x20
	bl	_BCM_SPI_UNLOCK
Lloh58:
	adrp	x8, _EWOULDBLOCK@GOTPAGE
Lloh59:
	ldr	x8, [x8, _EWOULDBLOCK@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_8
; %bb.18:
	ldr	w0, [x20, #16]
Lloh61:
	adrp	x1, l_.str.6@PAGE
Lloh62:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_device_printf
Lloh63:
	adrp	x8, _EIO@GOTPAGE
Lloh64:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TX/RX command sizes should be equal"

l_.str.1:                               ; @.str.1
	.asciz	"TX/RX data sizes should be equal"

	.comm	_SPIBUS_CS_HIGH,4,2             ; @SPIBUS_CS_HIGH
l_.str.2:                               ; @.str.2
	.asciz	"Invalid chip select %u requested by %s\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"Invalid clock %uHz requested by %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"Invalid mode %u requested by %s\n"

	.comm	_BCM_SPI_BUSY,4,2               ; @BCM_SPI_BUSY
l_.str.5:                               ; @.str.5
	.asciz	"bcm_spi"

	.comm	_SPI_CS,4,2                     ; @SPI_CS
	.comm	_SPI_CS_CLEAR_RXFIFO,4,2        ; @SPI_CS_CLEAR_RXFIFO
	.comm	_SPI_CS_CLEAR_TXFIFO,4,2        ; @SPI_CS_CLEAR_TXFIFO
	.comm	_SPI_CS_CPOL,4,2                ; @SPI_CS_CPOL
	.comm	_SPI_CS_CPHA,4,2                ; @SPI_CS_CPHA
	.comm	_SPIBUS_MODE_CPHA,4,2           ; @SPIBUS_MODE_CPHA
	.comm	_SPIBUS_MODE_CPOL,4,2           ; @SPIBUS_MODE_CPOL
	.comm	_SPI_CORE_CLK,4,2               ; @SPI_CORE_CLK
	.comm	_SPI_CLK,4,2                    ; @SPI_CLK
	.comm	_SPI_CS_MASK,4,2                ; @SPI_CS_MASK
	.comm	_SPI_CS_TA,4,2                  ; @SPI_CS_TA
	.comm	_SPI_CS_INTR,4,2                ; @SPI_CS_INTR
	.comm	_SPI_CS_INTD,4,2                ; @SPI_CS_INTD
	.comm	_hz,4,2                         ; @hz
	.comm	_EWOULDBLOCK,4,2                ; @EWOULDBLOCK
l_.str.6:                               ; @.str.6
	.asciz	"SPI error (timeout)\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_SPI_CS_CSPOL0,4,2              ; @SPI_CS_CSPOL0
	.comm	_SPI_CS_CSPOL1,4,2              ; @SPI_CS_CSPOL1
	.comm	_SPI_CS_CSPOL2,4,2              ; @SPI_CS_CSPOL2
	.no_dead_strip	_bcm_spi_transfer
.subsections_via_symbols
