	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function em25xx_bus_B_send_bytes
_em25xx_bus_B_send_bytes:               ## @em25xx_bus_B_send_bytes
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	leal	-65(%rbx), %eax
	cmpl	$-65, %eax
	ja	LBB0_2
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_2:
	movq	%rdx, %rcx
	movl	%esi, %r14d
	movq	%rdi, %r12
	movl	$6, %esi
	movl	%r14d, %edx
	movl	%ebx, %r8d
	callq	*(%rdi)
	cmpl	%ebx, %eax
	jne	LBB0_3
## %bb.6:
	movq	%r12, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	callq	*8(%r12)
	testl	%eax, %eax
	je	LBB0_11
## %bb.7:
	jle	LBB0_8
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	callq	_dprintk
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movl	%eax, %r15d
	movq	16(%r12), %rdi
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r12d, %r12d
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_dev_warn
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	movl	%r12d, %ebx
	jmp	LBB0_11
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_dev_warn
	movl	%r15d, %ebx
	jmp	LBB0_11
LBB0_8:
	movl	%eax, %ebx
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"writing to i2c device at 0x%x failed (error=%i)\n"

L_.str.1:                               ## @.str.1
	.asciz	"%i bytes write to i2c device at 0x%x requested, but %i bytes written\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.2:                               ## @.str.2
	.asciz	"Bus B R08 returned 0x%02x: I2C ACK error\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.no_dead_strip	_em25xx_bus_B_send_bytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function em25xx_bus_B_send_bytes
_em25xx_bus_B_send_bytes:               ; @em25xx_bus_B_send_bytes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x3
	sub	w8, w3, #65
	cmn	w8, #65
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_8
LBB0_2:
	mov	x3, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	mov	w1, #6
	mov	x2, x20
	mov	x4, x19
	blr	x8
	cmp	w0, w19
	b.ne	LBB0_6
; %bb.3:
	ldr	x8, [x21, #8]
	mov	x0, x21
	mov	w1, #8
	mov	w2, #0
	blr	x8
	cbz	w0, LBB0_9
; %bb.4:
	mov	x2, x0
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.5:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_dprintk
Lloh4:
	adrp	x8, _ENXIO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	mov	x22, x0
	ldr	x0, [x21, #16]
	tbnz	w22, #31, LBB0_10
; %bb.7:
	str	x22, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	mov	x3, x20
	bl	_dev_warn
Lloh8:
	adrp	x8, _EIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_9:
	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
	add	sp, sp, #64
	ret
LBB0_10:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	x3, x22
	bl	_dev_warn
	mov	x19, x22
	b	LBB0_9
LBB0_11:
	mov	x19, x2
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"writing to i2c device at 0x%x failed (error=%i)\n"

l_.str.1:                               ; @.str.1
	.asciz	"%i bytes write to i2c device at 0x%x requested, but %i bytes written\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.2:                               ; @.str.2
	.asciz	"Bus B R08 returned 0x%02x: I2C ACK error\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.no_dead_strip	_em25xx_bus_B_send_bytes
.subsections_via_symbols
