	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa168_init_hw
_pxa168_init_hw:                        ## @pxa168_init_hw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_INT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_wrl
	movq	_INT_CAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_wrl
	movq	_INT_W_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_wrl
	movq	%rbx, %rdi
	callq	_abort_dma
	movq	%rbx, %rdi
	callq	_init_hash_table
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_SDCR_BSZ8@GOTPCREL(%rip), %rax
	movq	_SDCR_RIFB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_SDCR_BLMT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_SDMA_CONFIG@GOTPCREL(%rip), %rax
	movq	_SDCR_BLMR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_SDCR_RC_MAX_RETRANS@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_wrl
	movq	_PORT_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PCR_HS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_wrl
	movq	%rbx, %rdi
	callq	_set_port_config_ext
LBB0_2:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MASK,4,2                   ## @INT_MASK
	.comm	_INT_CAUSE,4,2                  ## @INT_CAUSE
	.comm	_INT_W_CLEAR,4,2                ## @INT_W_CLEAR
	.comm	_SDMA_CONFIG,4,2                ## @SDMA_CONFIG
	.comm	_SDCR_BSZ8,4,2                  ## @SDCR_BSZ8
	.comm	_SDCR_RIFB,4,2                  ## @SDCR_RIFB
	.comm	_SDCR_BLMT,4,2                  ## @SDCR_BLMT
	.comm	_SDCR_BLMR,4,2                  ## @SDCR_BLMR
	.comm	_SDCR_RC_MAX_RETRANS,4,2        ## @SDCR_RC_MAX_RETRANS
	.comm	_PORT_CONFIG,4,2                ## @PORT_CONFIG
	.comm	_PCR_HS,4,2                     ## @PCR_HS
	.no_dead_strip	_pxa168_init_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa168_init_hw
_pxa168_init_hw:                        ; @pxa168_init_hw
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _INT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_wrl
Lloh3:
	adrp	x8, _INT_CAUSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INT_CAUSE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_wrl
Lloh6:
	adrp	x8, _INT_W_CLEAR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INT_W_CLEAR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_wrl
	mov	x0, x19
	bl	_abort_dma
	mov	x0, x19
	bl	_init_hash_table
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _SDMA_CONFIG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SDMA_CONFIG@GOTPAGEOFF]
Lloh11:
	adrp	x9, _SDCR_BSZ8@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SDCR_BSZ8@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	ldr	w8, [x9]
Lloh15:
	adrp	x9, _SDCR_RIFB@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SDCR_RIFB@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh18:
	adrp	x9, _SDCR_BLMT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SDCR_BLMT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _SDCR_BLMR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SDCR_BLMR@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _SDCR_RC_MAX_RETRANS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SDCR_RC_MAX_RETRANS@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_wrl
Lloh27:
	adrp	x8, _PORT_CONFIG@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PORT_CONFIG@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _PCR_HS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PCR_HS@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wrl
	mov	x0, x19
	bl	_set_port_config_ext
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MASK,4,2                   ; @INT_MASK
	.comm	_INT_CAUSE,4,2                  ; @INT_CAUSE
	.comm	_INT_W_CLEAR,4,2                ; @INT_W_CLEAR
	.comm	_SDMA_CONFIG,4,2                ; @SDMA_CONFIG
	.comm	_SDCR_BSZ8,4,2                  ; @SDCR_BSZ8
	.comm	_SDCR_RIFB,4,2                  ; @SDCR_RIFB
	.comm	_SDCR_BLMT,4,2                  ; @SDCR_BLMT
	.comm	_SDCR_BLMR,4,2                  ; @SDCR_BLMR
	.comm	_SDCR_RC_MAX_RETRANS,4,2        ; @SDCR_RC_MAX_RETRANS
	.comm	_PORT_CONFIG,4,2                ; @PORT_CONFIG
	.comm	_PCR_HS,4,2                     ; @PCR_HS
	.no_dead_strip	_pxa168_init_hw
.subsections_via_symbols
