	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc911x_tx_writefifo
_smsc911x_tx_writefifo:                 ## @smsc911x_tx_writefifo
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_spin_lock_irqsave
	movl	4(%r12), %eax
	movq	_SMSC911X_SWAP_FIFO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.1:
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.2:
	movl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_TX_DATA_FIFO@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	(%r14,%rbx,4), %edi
	callq	_swab32
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	___smsc911x_reg_write
	incq	%rbx
	cmpl	%ebx, %r15d
	jne	LBB0_3
	jmp	LBB0_11
LBB0_4:
	movq	_SMSC911X_USE_32BIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_TX_DATA_FIFO@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r12), %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_iowrite32_rep
LBB0_11:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_6:
	movq	_SMSC911X_USE_16BIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.7:
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.8:
	movl	%r15d, %r15d
	xorl	%ebx, %ebx
	movq	_TX_DATA_FIFO@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rsi
	movl	(%r14,%rbx,4), %edx
	movq	%r12, %rdi
	callq	___smsc911x_reg_write
	incq	%rbx
	cmpl	%ebx, %r15d
	jne	LBB0_9
	jmp	LBB0_11
LBB0_10:
	xorl	%eax, %eax
	callq	_BUG
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_SMSC911X_SWAP_FIFO,4,2         ## @SMSC911X_SWAP_FIFO
	.comm	_TX_DATA_FIFO,8,3               ## @TX_DATA_FIFO
	.comm	_SMSC911X_USE_32BIT,4,2         ## @SMSC911X_USE_32BIT
	.comm	_SMSC911X_USE_16BIT,4,2         ## @SMSC911X_USE_16BIT
	.no_dead_strip	_smsc911x_tx_writefifo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc911x_tx_writefifo
_smsc911x_tx_writefifo:                 ; @smsc911x_tx_writefifo
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_spin_lock_irqsave
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x9, _SMSC911X_SWAP_FIFO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SMSC911X_SWAP_FIFO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	cbz	w20, LBB0_6
; %bb.2:
Lloh3:
	adrp	x23, _TX_DATA_FIFO@GOTPAGE
Lloh4:
	ldr	x23, [x23, _TX_DATA_FIFO@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w20, w20, #1
	ldr	x22, [x23]
	ldr	w0, [x21], #4
	bl	_swab32
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	___smsc911x_reg_write
	cbnz	w20, LBB0_3
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x9, _SMSC911X_USE_32BIT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SMSC911X_USE_32BIT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _TX_DATA_FIFO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TX_DATA_FIFO@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	x1, x21
	mov	x2, x20
	bl	_iowrite32_rep
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
LBB0_7:
Lloh11:
	adrp	x9, _SMSC911X_USE_16BIT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SMSC911X_USE_16BIT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.8:
	cbz	w20, LBB0_6
; %bb.9:
Lloh14:
	adrp	x22, _TX_DATA_FIFO@GOTPAGE
Lloh15:
	ldr	x22, [x22, _TX_DATA_FIFO@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	w20, w20, #1
	ldr	x1, [x22]
	ldr	w2, [x21], #4
	mov	x0, x19
	bl	___smsc911x_reg_write
	cbnz	w20, LBB0_10
	b	LBB0_6
LBB0_11:
	bl	_BUG
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SMSC911X_SWAP_FIFO,4,2         ; @SMSC911X_SWAP_FIFO
	.comm	_TX_DATA_FIFO,8,3               ; @TX_DATA_FIFO
	.comm	_SMSC911X_USE_32BIT,4,2         ; @SMSC911X_USE_32BIT
	.comm	_SMSC911X_USE_16BIT,4,2         ; @SMSC911X_USE_16BIT
	.no_dead_strip	_smsc911x_tx_writefifo
.subsections_via_symbols
