	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e82545_transmit_done
_e82545_transmit_done:                  ## @e82545_transmit_done
	.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
	.cfi_offset %rbx, -24
	movl	%edx, %r9d
	cmpl	%edx, %esi
	jne	LBB0_1
LBB0_5:
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movl	%esi, %edx
	movq	_E1000_TXD_CMD_RS@GOTPCREL(%rip), %r11
	movq	_E1000_TXD_STAT_DD@GOTPCREL(%rip), %r10
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%edx
	movl	%edx, %eax
	cltd
	idivl	%ecx
	cmpl	%r9d, %edx
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rax
	movslq	%edx, %rsi
	movl	(%r11), %ebx
	testl	%ebx, 4(%rax,%rsi,8)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r10), %ebx
	orl	%ebx, (%rax,%rsi,8)
	movl	$1, (%r8)
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_TXD_CMD_RS,4,2           ## @E1000_TXD_CMD_RS
	.comm	_E1000_TXD_STAT_DD,4,2          ## @E1000_TXD_STAT_DD
	.no_dead_strip	_e82545_transmit_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e82545_transmit_done
_e82545_transmit_done:                  ; @e82545_transmit_done
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w1, w2
	b.ne	LBB0_2
LBB0_1:
	ret
LBB0_2:
Lloh0:
	adrp	x8, _E1000_TXD_CMD_RS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_TXD_CMD_RS@GOTPAGEOFF]
Lloh2:
	adrp	x9, _E1000_TXD_STAT_DD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _E1000_TXD_STAT_DD@GOTPAGEOFF]
	mov	w10, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w11, w11, #1
	sdiv	w12, w11, w3
	msub	w1, w12, w3, w11
	cmp	w1, w2
	b.eq	LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x0]
	sxtw	x11, w1
	add	x13, x12, w1, sxtw #3
	ldr	w13, [x13, #4]
	ldr	w14, [x8]
	tst	w14, w13
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x9]
	lsl	x14, x11, #3
	ldr	w15, [x12, x14]
	orr	w13, w15, w13
	str	w13, [x12, x14]
	str	w10, [x4]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_TXD_CMD_RS,4,2           ; @E1000_TXD_CMD_RS
	.comm	_E1000_TXD_STAT_DD,4,2          ; @E1000_TXD_STAT_DD
	.no_dead_strip	_e82545_transmit_done
.subsections_via_symbols
