	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e4000_init
_e4000_init:                            ## @e4000_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	4(%r15), %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.1:
	movl	4(%r15), %edi
	movl	$6, %esi
	xorl	%edx, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.2:
	movl	4(%r15), %edi
	movl	$122, %esi
	movl	$150, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.3:
	movl	4(%r15), %edi
	leaq	L_.str.1(%rip), %rdx
	movl	$126, %esi
	movl	$2, %ecx
	callq	_regmap_bulk_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.4:
	movl	4(%r15), %edi
	movl	$130, %esi
	xorl	%edx, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.5:
	movl	4(%r15), %edi
	movl	$36, %esi
	movl	$5, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.6:
	movl	4(%r15), %edi
	leaq	L_.str.2(%rip), %rdx
	movl	$135, %esi
	movl	$2, %ecx
	callq	_regmap_bulk_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.7:
	movl	4(%r15), %edi
	leaq	L_.str.3(%rip), %rdx
	movl	$159, %esi
	movl	$2, %ecx
	callq	_regmap_bulk_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.8:
	movl	4(%r15), %edi
	movl	$45, %esi
	movl	$31, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.9:
	movl	4(%r15), %edi
	leaq	L_.str.4(%rip), %rdx
	movl	$112, %esi
	movl	$2, %ecx
	callq	_regmap_bulk_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.10:
	movl	4(%r15), %edi
	movl	$26, %esi
	movl	$23, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:
	movl	4(%r15), %edi
	movl	$31, %esi
	movl	$26, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_12
LBB0_13:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	$1, (%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"\001\376"

L_.str.2:                               ## @.str.2
	.asciz	" \001"

L_.str.3:                               ## @.str.3
	.asciz	"\177\007"

L_.str.4:                               ## @.str.4
	.asciz	"\001\001"

L_.str.5:                               ## @.str.5
	.asciz	"failed=%d\n"

	.no_dead_strip	_e4000_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e4000_init
_e4000_init:                            ; @e4000_init
	.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	x20, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	w0, [x20, #4]
	mov	w1, #0
	mov	w2, #1
	bl	_regmap_write
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.1:
	ldr	w0, [x20, #4]
	mov	w1, #6
	mov	w2, #0
	bl	_regmap_write
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.2:
	ldr	w0, [x20, #4]
	mov	w1, #122
	mov	w2, #150
	bl	_regmap_write
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.3:
	ldr	w0, [x20, #4]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #126
	mov	w3, #2
	bl	_regmap_bulk_write
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.4:
	ldr	w0, [x20, #4]
	mov	w1, #130
	mov	w2, #0
	bl	_regmap_write
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.5:
	ldr	w0, [x20, #4]
	mov	w1, #36
	mov	w2, #5
	bl	_regmap_write
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.6:
	ldr	w0, [x20, #4]
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #135
	mov	w3, #2
	bl	_regmap_bulk_write
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.7:
	ldr	w0, [x20, #4]
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w1, #159
	mov	w3, #2
	bl	_regmap_bulk_write
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.8:
	ldr	w0, [x20, #4]
	mov	w1, #45
	mov	w2, #31
	bl	_regmap_write
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.9:
	ldr	w0, [x20, #4]
Lloh8:
	adrp	x2, l_.str.4@PAGE
Lloh9:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w1, #112
	mov	w3, #2
	bl	_regmap_bulk_write
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.10:
	ldr	w0, [x20, #4]
	mov	w1, #26
	mov	w2, #23
	bl	_regmap_write
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.11:
	ldr	w0, [x20, #4]
	mov	w1, #31
	mov	w2, #26
	bl	_regmap_write
	mov	x21, x0
	cbz	w0, LBB0_14
LBB0_12:
	str	x21, [sp]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
LBB0_13:
	mov	x0, x21
	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_14:
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_13
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"\001\376"

l_.str.2:                               ; @.str.2
	.asciz	" \001"

l_.str.3:                               ; @.str.3
	.asciz	"\177\007"

l_.str.4:                               ; @.str.4
	.asciz	"\001\001"

l_.str.5:                               ; @.str.5
	.asciz	"failed=%d\n"

	.no_dead_strip	_e4000_init
.subsections_via_symbols
