	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_mci_handle_transmitted
_at91_mci_handle_transmitted:           ## @at91_mci_handle_transmitted
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	_ATMEL_PDC_PTCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ATMEL_PDC_RXTDIS@GOTPCREL(%rip), %rax
	movq	_ATMEL_PDC_TXTDIS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_at91_mci_write
	movq	_AT91_MCI_IDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AT91_MCI_TXBUFE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_at91_mci_write
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	cmpl	$2, (%rax)
	jl	LBB0_3
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_debug
	movq	_AT91_MCI_BLKE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_AT91_MCI_NOTBUSY@GOTPCREL(%rip), %rax
LBB0_5:
	movq	_AT91_MCI_IER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_at91_mci_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Handling the transmit\n"

	.comm	_ATMEL_PDC_PTCR,4,2             ## @ATMEL_PDC_PTCR
	.comm	_ATMEL_PDC_RXTDIS,4,2           ## @ATMEL_PDC_RXTDIS
	.comm	_ATMEL_PDC_TXTDIS,4,2           ## @ATMEL_PDC_TXTDIS
	.comm	_AT91_MCI_IDR,4,2               ## @AT91_MCI_IDR
	.comm	_AT91_MCI_TXBUFE,4,2            ## @AT91_MCI_TXBUFE
L_.str.1:                               ## @.str.1
	.asciz	"multiple write : wait for BLKE...\n"

	.comm	_AT91_MCI_IER,4,2               ## @AT91_MCI_IER
	.comm	_AT91_MCI_BLKE,4,2              ## @AT91_MCI_BLKE
	.comm	_AT91_MCI_NOTBUSY,4,2           ## @AT91_MCI_NOTBUSY
	.no_dead_strip	_at91_mci_handle_transmitted
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_mci_handle_transmitted
_at91_mci_handle_transmitted:           ; @at91_mci_handle_transmitted
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
Lloh2:
	adrp	x8, _ATMEL_PDC_PTCR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATMEL_PDC_PTCR@GOTPAGEOFF]
Lloh4:
	adrp	x9, _ATMEL_PDC_RXTDIS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ATMEL_PDC_RXTDIS@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	ldr	w8, [x9]
Lloh8:
	adrp	x9, _ATMEL_PDC_TXTDIS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ATMEL_PDC_TXTDIS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_at91_mci_write
Lloh11:
	adrp	x8, _AT91_MCI_IDR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AT91_MCI_IDR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _AT91_MCI_TXBUFE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AT91_MCI_TXBUFE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_at91_mci_write
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.3:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
Lloh19:
	adrp	x8, _AT91_MCI_BLKE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AT91_MCI_BLKE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh21:
	adrp	x8, _AT91_MCI_NOTBUSY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AT91_MCI_NOTBUSY@GOTPAGEOFF]
LBB0_6:
Lloh23:
	adrp	x9, _AT91_MCI_IER@GOTPAGE
Lloh24:
	ldr	x9, [x9, _AT91_MCI_IER@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x9]
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_at91_mci_write
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Handling the transmit\n"

	.comm	_ATMEL_PDC_PTCR,4,2             ; @ATMEL_PDC_PTCR
	.comm	_ATMEL_PDC_RXTDIS,4,2           ; @ATMEL_PDC_RXTDIS
	.comm	_ATMEL_PDC_TXTDIS,4,2           ; @ATMEL_PDC_TXTDIS
	.comm	_AT91_MCI_IDR,4,2               ; @AT91_MCI_IDR
	.comm	_AT91_MCI_TXBUFE,4,2            ; @AT91_MCI_TXBUFE
l_.str.1:                               ; @.str.1
	.asciz	"multiple write : wait for BLKE...\n"

	.comm	_AT91_MCI_IER,4,2               ; @AT91_MCI_IER
	.comm	_AT91_MCI_BLKE,4,2              ; @AT91_MCI_BLKE
	.comm	_AT91_MCI_NOTBUSY,4,2           ; @AT91_MCI_NOTBUSY
	.no_dead_strip	_at91_mci_handle_transmitted
.subsections_via_symbols
