	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcnet32_set_phys_id
_pcnet32_set_phys_id:                   ## @pcnet32_set_phys_id
	.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	%esi, %r15d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	16(%rax), %r14
	movl	(%rbx), %r12d
	leal	-128(%r15), %ecx
	cmpl	$2, %ecx
	jb	LBB0_4
## %bb.1:
	cmpl	$130, %r15d
	je	LBB0_5
## %bb.2:
	xorl	%r13d, %r13d
	cmpl	$131, %r15d
	jne	LBB0_8
## %bb.3:
	movq	%rax, %r15
	addq	$8, %r15
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movl	%r12d, %edi
	movl	$4, %esi
	callq	*(%r14)
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	%r12d, %edi
	movl	$5, %esi
	callq	*(%r14)
	movq	(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movl	%r12d, %edi
	movl	$6, %esi
	callq	*(%r14)
	movq	(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movl	%r12d, %edi
	movl	$7, %esi
	callq	*(%r14)
	movq	(%rbx), %rcx
	movl	%eax, 12(%rcx)
	movl	$2, %r13d
	jmp	LBB0_7
LBB0_4:
	addq	$8, %rax
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_spin_lock_irqsave
	movq	8(%r14), %rbx
	movl	%r12d, %edi
	movl	$4, %esi
	callq	*(%r14)
	xorl	$16384, %eax                    ## imm = 0x4000
	movl	%r12d, %edi
	movl	$4, %esi
	movl	%eax, %edx
	callq	*%rbx
	movq	8(%r14), %rbx
	movl	%r12d, %edi
	movl	$5, %esi
	callq	*(%r14)
	xorl	$16384, %eax                    ## imm = 0x4000
	movl	%r12d, %edi
	movl	$5, %esi
	movl	%eax, %edx
	callq	*%rbx
	movq	8(%r14), %rbx
	movl	%r12d, %edi
	movl	$6, %esi
	callq	*(%r14)
	xorl	$16384, %eax                    ## imm = 0x4000
	movl	%r12d, %edi
	movl	$6, %esi
	movl	%eax, %edx
	callq	*%rbx
	movq	8(%r14), %rbx
	movl	%r12d, %edi
	movl	$7, %esi
	callq	*(%r14)
	xorl	$16384, %eax                    ## imm = 0x4000
	movl	%r12d, %edi
	movl	$7, %esi
	movl	%eax, %edx
	callq	*%rbx
	jmp	LBB0_6
LBB0_5:
	movq	%rax, %r15
	addq	$8, %r15
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	movl	$4, %esi
	callq	*8(%r14)
	movq	(%rbx), %rax
	movl	4(%rax), %edx
	movl	%r12d, %edi
	movl	$5, %esi
	callq	*8(%r14)
	movq	(%rbx), %rax
	movl	8(%rax), %edx
	movl	%r12d, %edi
	movl	$6, %esi
	callq	*8(%r14)
	movq	(%rbx), %rax
	movl	12(%rax), %edx
	movl	%r12d, %edi
	movl	$7, %esi
	callq	*8(%r14)
LBB0_6:
	xorl	%r13d, %r13d
LBB0_7:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
LBB0_8:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pcnet32_set_phys_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcnet32_set_phys_id
_pcnet32_set_phys_id:                   ; @pcnet32_set_phys_id
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x21, x0
	ldr	x22, [x0, #16]
	ldr	w20, [x20]
	sub	w8, w19, #128
	cmp	w8, #2
	b.lo	LBB0_4
; %bb.1:
	cmp	w19, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w19, #131
	b.ne	LBB0_8
; %bb.3:
	add	x19, x21, #8
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x22]
	mov	x0, x20
	mov	w1, #4
	blr	x8
	ldr	x8, [x21]
	str	w0, [x8]
	ldr	x8, [x22]
	mov	x0, x20
	mov	w1, #5
	blr	x8
	ldr	x8, [x21]
	str	w0, [x8, #4]
	ldr	x8, [x22]
	mov	x0, x20
	mov	w1, #6
	blr	x8
	ldr	x8, [x21]
	str	w0, [x8, #8]
	ldr	x8, [x22]
	mov	x0, x20
	mov	w1, #7
	blr	x8
	ldr	x8, [x21]
	str	w0, [x8, #12]
	mov	w20, #2
	b	LBB0_7
LBB0_4:
	add	x19, x21, #8
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldp	x8, x21, [x22]
	mov	x0, x20
	mov	w1, #4
	blr	x8
	eor	w2, w0, #0x4000
	mov	x0, x20
	mov	w1, #4
	blr	x21
	ldp	x8, x21, [x22]
	mov	x0, x20
	mov	w1, #5
	blr	x8
	eor	w2, w0, #0x4000
	mov	x0, x20
	mov	w1, #5
	blr	x21
	ldp	x8, x21, [x22]
	mov	x0, x20
	mov	w1, #6
	blr	x8
	eor	w2, w0, #0x4000
	mov	x0, x20
	mov	w1, #6
	blr	x21
	ldp	x8, x21, [x22]
	mov	x0, x20
	mov	w1, #7
	blr	x8
	eor	w2, w0, #0x4000
	mov	x0, x20
	mov	w1, #7
	blr	x21
	b	LBB0_6
LBB0_5:
	add	x19, x21, #8
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x22, #8]
	ldr	x9, [x21]
	ldr	w2, [x9]
	mov	x0, x20
	mov	w1, #4
	blr	x8
	ldr	x8, [x22, #8]
	ldr	x9, [x21]
	ldr	w2, [x9, #4]
	mov	x0, x20
	mov	w1, #5
	blr	x8
	ldr	x8, [x22, #8]
	ldr	x9, [x21]
	ldr	w2, [x9, #8]
	mov	x0, x20
	mov	w1, #6
	blr	x8
	ldr	x8, [x22, #8]
	ldr	x9, [x21]
	ldr	w2, [x9, #12]
	mov	x0, x20
	mov	w1, #7
	blr	x8
LBB0_6:
	mov	w20, #0
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	b	LBB0_9
LBB0_8:
	mov	w20, #0
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pcnet32_set_phys_id
.subsections_via_symbols
