	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hp100_start_xmit_bm
_hp100_start_xmit_bm:                   ## @hp100_start_xmit_bm
	.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
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	cmpl	$0, (%r15)
	jle	LBB0_16
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_HP100_CHIPID_SHASTA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_ETH_ZLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_skb_padto
	testq	%rax, %rax
	jne	LBB0_21
LBB0_3:
	movq	48(%rbx), %rax
	movq	(%rax), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_18
## %bb.4:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_dev_trans_start
	movq	_HZ@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movl	%r12d, %edi
	movq	%rax, %rsi
	callq	_time_before
	testq	%rax, %rax
	jne	LBB0_16
## %bb.5:
	movq	%r14, %rdi
	callq	_hp100_check_lan
	testq	%rax, %rax
	jne	LBB0_16
## %bb.6:
	movl	16(%rbx), %eax
	movq	_HP100_LAN_100@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.7:
	cmpq	$0, 24(%rbx)
	js	LBB0_8
LBB0_9:
	movq	%rbx, %r13
	addq	$32, %r13
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	xorl	%eax, %eax
	callq	_hp100_ints_off
	movq	%r14, %rdi
	callq	_hp100_sense_lan
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_hp100_ints_on
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	movq	_HP100_LAN_ERR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_11
## %bb.10:
	movl	12(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_printk
	jmp	LBB0_16
LBB0_18:
	movq	%rbx, %r12
	addq	$32, %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	48(%rbx), %r13
	movq	(%r13), %rax
	movq	%rax, 48(%rbx)
	movl	(%r15), %eax
	movq	_HP100_MIN_PACKET_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	%edx, %eax
	cmovgl	%eax, %edx
	movq	%r15, 24(%r13)
	movl	%edx, %ecx
	orl	$65536, %ecx                    ## imm = 0x10000
	movq	8(%r13), %rax
	movl	%ecx, (%rax)
	movq	(%rbx), %rcx
	movq	_HP100_CHIPID_SHASTA@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	je	LBB0_20
## %bb.19:
	movl	(%r15), %edx
LBB0_20:
	movl	%edx, 8(%rax)
	movl	40(%rbx), %edi
	movl	4(%r15), %esi
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_map_single
	movq	8(%r13), %rcx
	movl	%eax, 4(%rcx)
	movl	16(%r13), %edi
	movq	_TX_PDA_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_hp100_outl
	incl	36(%rbx)
	incl	8(%r14)
	movl	(%r15), %eax
	addl	%eax, 4(%r14)
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_21
LBB0_11:
	movl	12(%r14), %esi
	cmpl	%r12d, 16(%rbx)
	jne	LBB0_12
## %bb.17:
	leaq	L_.str.3(%rip), %rdi
	callq	_printk
	jmp	LBB0_13
LBB0_8:
	movl	12(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_printk
	movq	%r14, %rdi
	callq	_hp100_stop_interface
	jmp	LBB0_14
LBB0_12:
	leaq	L_.str.2(%rip), %rdi
	callq	_printk
	movl	%r12d, 16(%rbx)
LBB0_13:
	movq	%r14, %rdi
	callq	_hp100_stop_interface
	movl	16(%rbx), %eax
	movq	_HP100_LAN_100@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
LBB0_14:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hp100_login_to_vg_hub
	movq	%rax, 24(%rbx)
LBB0_15:
	movq	%r14, %rdi
	callq	_hp100_start_interface
LBB0_16:
	movq	%r15, %rdi
	callq	_dev_kfree_skb
LBB0_21:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HP100_CHIPID_SHASTA,8,3        ## @HP100_CHIPID_SHASTA
	.comm	_ETH_ZLEN,4,2                   ## @ETH_ZLEN
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_HZ,8,3                         ## @HZ
	.comm	_HP100_LAN_100,4,2              ## @HP100_LAN_100
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hp100: %s: login to 100Mb/s hub retry\n"

	.comm	_HP100_LAN_ERR,4,2              ## @HP100_LAN_ERR
L_.str.1:                               ## @.str.1
	.asciz	"hp100: %s: link down detected\n"

L_.str.2:                               ## @.str.2
	.asciz	"hp100: %s: cable change 10Mb/s <-> 100Mb/s detected\n"

L_.str.3:                               ## @.str.3
	.asciz	"hp100: %s: interface reset\n"

	.comm	_HP100_MIN_PACKET_SIZE,4,2      ## @HP100_MIN_PACKET_SIZE
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_TX_PDA_L,4,2                   ## @TX_PDA_L
	.comm	_TRACE,4,2                      ## @TRACE
	.no_dead_strip	_hp100_start_xmit_bm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hp100_start_xmit_bm
_hp100_start_xmit_bm:                   ; @hp100_start_xmit_bm
	.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, x1
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x23, _HP100_CHIPID_SHASTA@GOTPAGE
Lloh1:
	ldr	x23, [x23, _HP100_CHIPID_SHASTA@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _ETH_ZLEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH_ZLEN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skb_padto
	cbnz	x0, LBB0_21
LBB0_3:
	ldr	x8, [x21, #48]
	ldr	x8, [x8]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.4:
Lloh5:
	adrp	x8, _jiffies@GOTPAGE
Lloh6:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_dev_trans_start
Lloh8:
	adrp	x8, _HZ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	add	x1, x8, x0
	mov	x0, x22
	bl	_time_before
	cbnz	x0, LBB0_20
; %bb.5:
	mov	x0, x20
	bl	_hp100_check_lan
	cbnz	x0, LBB0_20
; %bb.6:
	ldr	w8, [x21, #16]
Lloh11:
	adrp	x24, _HP100_LAN_100@GOTPAGE
Lloh12:
	ldr	x24, [x24, _HP100_LAN_100@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.7:
	ldr	x8, [x21, #24]
	tbnz	x8, #63, LBB0_15
LBB0_8:
	add	x23, x21, #32
	mov	x0, x23
	bl	_spin_lock_irqsave
	bl	_hp100_ints_off
	mov	x0, x20
	bl	_hp100_sense_lan
	mov	x22, x0
	bl	_hp100_ints_on
	mov	x0, x23
	bl	_spin_unlock_irqrestore
Lloh13:
	adrp	x8, _HP100_LAN_ERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HP100_LAN_ERR@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_13
; %bb.9:
	ldr	w1, [x20, #12]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
	b	LBB0_20
LBB0_10:
	add	x22, x21, #32
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	x24, [x21, #48]
	ldp	x9, x8, [x24]
	str	x9, [x21, #48]
	ldr	w9, [x19]
Lloh18:
	adrp	x10, _HP100_MIN_PACKET_SIZE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _HP100_MIN_PACKET_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	cmp	w9, w10
	csel	w2, w9, w10, gt
	str	x19, [x24, #24]
	orr	w9, w2, #0x10000
	str	w9, [x8]
	ldr	x9, [x21]
	ldr	x10, [x23]
	cmp	x9, x10
	b.eq	LBB0_12
; %bb.11:
	ldr	w2, [x19]
LBB0_12:
	str	w2, [x8, #8]
	ldr	w0, [x21, #40]
	ldr	w1, [x19, #4]
Lloh21:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
	bl	_pci_map_single
	ldr	x8, [x24, #8]
	str	w0, [x8, #4]
	ldr	w0, [x24, #16]
Lloh24:
	adrp	x8, _TX_PDA_L@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TX_PDA_L@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_hp100_outl
	ldr	w8, [x21, #36]
	add	w8, w8, #1
	str	w8, [x21, #36]
	ldur	d0, [x20, #4]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x19]
	add.2s	v0, v0, v1
	stur	d0, [x20, #4]
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	b	LBB0_21
LBB0_13:
	ldr	w8, [x21, #16]
	ldr	w1, [x20, #12]
	cmp	w8, w22
	b.ne	LBB0_16
; %bb.14:
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printk
	b	LBB0_17
LBB0_15:
	ldr	w1, [x20, #12]
Lloh29:
	adrp	x0, l_.str@PAGE
Lloh30:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
	mov	x0, x20
	bl	_hp100_stop_interface
	b	LBB0_18
LBB0_16:
Lloh31:
	adrp	x0, l_.str.2@PAGE
Lloh32:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printk
	str	w22, [x21, #16]
LBB0_17:
	mov	x0, x20
	bl	_hp100_stop_interface
	ldr	w8, [x21, #16]
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_19
LBB0_18:
	mov	x0, x20
	mov	w1, #0
	bl	_hp100_login_to_vg_hub
	str	x0, [x21, #24]
LBB0_19:
	mov	x0, x20
	bl	_hp100_start_interface
LBB0_20:
	mov	x0, x19
	bl	_dev_kfree_skb
LBB0_21:
Lloh33:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_HP100_CHIPID_SHASTA,8,3        ; @HP100_CHIPID_SHASTA
	.comm	_ETH_ZLEN,4,2                   ; @ETH_ZLEN
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_HZ,8,3                         ; @HZ
	.comm	_HP100_LAN_100,4,2              ; @HP100_LAN_100
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hp100: %s: login to 100Mb/s hub retry\n"

	.comm	_HP100_LAN_ERR,4,2              ; @HP100_LAN_ERR
l_.str.1:                               ; @.str.1
	.asciz	"hp100: %s: link down detected\n"

l_.str.2:                               ; @.str.2
	.asciz	"hp100: %s: cable change 10Mb/s <-> 100Mb/s detected\n"

l_.str.3:                               ; @.str.3
	.asciz	"hp100: %s: interface reset\n"

	.comm	_HP100_MIN_PACKET_SIZE,4,2      ; @HP100_MIN_PACKET_SIZE
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_TX_PDA_L,4,2                   ; @TX_PDA_L
	.comm	_TRACE,4,2                      ; @TRACE
	.no_dead_strip	_hp100_start_xmit_bm
.subsections_via_symbols
