	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_z8530_channel_load             ## -- Begin function z8530_channel_load
	.p2align	4, 0x90
_z8530_channel_load:                    ## @z8530_channel_load
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	16(%rdi), %edi
	callq	_spin_lock_irqsave
	movl	(%rbx), %r15d
	cmpl	$255, %r15d
	jne	LBB0_1
LBB0_6:
	movq	_z8530_null_rx@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r14)
	movq	$0, 56(%r14)
	movl	$1500, 8(%r14)                  ## imm = 0x5DC
	movups	%xmm0, 24(%r14)
	movq	_R0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_read_zsreg
	movl	%eax, 20(%r14)
	movl	$1, 12(%r14)
	movq	_R3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%r14), %rax
	movq	_RxENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax,%rsi,4), %edx
	movq	%r14, %rdi
	callq	_write_zsreg
	movl	16(%r14), %edi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	addq	$4, %rbx
	movq	_R15@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %esi
	andl	$15, %esi
	movl	(%rbx), %edx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_write_zsreg
	movl	(%rbx), %eax
	movq	(%r14), %rcx
	movslq	%r15d, %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	4(%rbx), %r15d
	addq	$8, %rbx
	cmpl	$255, %r15d
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$16, %r15d
	jl	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rsi
	movq	(%r14), %rax
	movl	60(%rax), %edx
	orl	$1, %edx
	movq	%r14, %rdi
	callq	_write_zsreg
	movl	%r15d, %esi
	andl	$15, %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_write_zsreg
	movq	(%r12), %rsi
	movq	(%r14), %rax
	movl	60(%rax), %edx
	andl	$-2, %edx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_R15,8,3                        ## @R15
	.comm	_z8530_null_rx,4,2              ## @z8530_null_rx
	.comm	_R0,4,2                         ## @R0
	.comm	_R3,8,3                         ## @R3
	.comm	_RxENABLE,4,2                   ## @RxENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_z8530_channel_load             ; -- Begin function z8530_channel_load
	.p2align	2
_z8530_channel_load:                    ; @z8530_channel_load
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_spin_lock_irqsave
	ldr	w21, [x20]
	cmp	w21, #255
	b.ne	LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _z8530_null_rx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _z8530_null_rx@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #64]
	stp	xzr, xzr, [x19, #48]
	stp	xzr, xzr, [x19, #32]
	mov	w8, #1500
	str	w8, [x19, #8]
	str	xzr, [x19, #24]
Lloh3:
	adrp	x8, _R0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _R0@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_read_zsreg
	str	w0, [x19, #20]
	mov	w8, #1
	str	w8, [x19, #12]
Lloh6:
	adrp	x8, _R3@GOTPAGE
Lloh7:
	ldr	x8, [x8, _R3@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	ldr	x8, [x19]
	ldr	w8, [x8, x1, lsl #2]
Lloh9:
	adrp	x9, _RxENABLE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RxENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_write_zsreg
	ldr	w0, [x19, #16]
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	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
LBB0_2:
	add	x20, x20, #4
Lloh12:
	adrp	x22, _R15@GOTPAGE
Lloh13:
	ldr	x22, [x22, _R15@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	and	w1, w21, #0xf
	ldr	w2, [x20]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_write_zsreg
	ldr	w8, [x20]
	ldr	x9, [x19]
	str	w8, [x9, w21, sxtw #2]
	ldr	w21, [x20, #4]
	add	x20, x20, #8
	cmp	w21, #255
	b.eq	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w21, #16
	b.lt	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [x22]
	ldr	x8, [x19]
	ldr	w8, [x8, #60]
	orr	w2, w8, #0x1
	mov	x0, x19
	bl	_write_zsreg
	and	w1, w21, #0xf
	ldr	w2, [x20]
	mov	x0, x19
	bl	_write_zsreg
	ldr	x1, [x22]
	ldr	x8, [x19]
	ldr	w8, [x8, #60]
	and	w2, w8, #0xfffffffe
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_R15,8,3                        ; @R15
	.comm	_z8530_null_rx,4,2              ; @z8530_null_rx
	.comm	_R0,4,2                         ; @R0
	.comm	_R3,8,3                         ; @R3
	.comm	_RxENABLE,4,2                   ; @RxENABLE
.subsections_via_symbols
