	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uPD98402_start
_uPD98402_start:                        ## @uPD98402_start
	.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
	leaq	L_.str(%rip), %rdi
	callq	_DPRINTK
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kmalloc
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_PRIV
	leaq	12(%rax), %rdi
	callq	_spin_lock_init
	movq	%rbx, %rdi
	callq	_PRIV
	xorl	%r14d, %r14d
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_PCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GET
	movq	_uPD98402_PFM_FJ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PCMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PUT
	movq	_PCOCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GET
	movq	_uPD98402_PCO_HECC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	movq	_PCOMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PUT
	movq	_PICR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GET
	movq	_uPD98402_INT_PFM@GOTPCREL(%rip), %rax
	movq	_uPD98402_INT_ALM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_uPD98402_INT_RFO@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_uPD98402_INT_LOS@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	notl	%edi
	movq	_PIMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PUT
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_fetch_stats
	movq	%rbx, %rdi
	callq	_PRIV
	leaq	8(%rax), %rdi
	movl	$-1, %esi
	callq	_atomic_set
	movq	%rbx, %rdi
	callq	_PRIV
	leaq	4(%rax), %rdi
	movl	$-1, %esi
	callq	_atomic_set
	movq	%rbx, %rdi
	callq	_PRIV
	movq	%rax, %rdi
	movl	$-1, %esi
	callq	_atomic_set
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"phy_start\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PCR,4,2                        ## @PCR
	.comm	_uPD98402_PFM_FJ,4,2            ## @uPD98402_PFM_FJ
	.comm	_PCMR,4,2                       ## @PCMR
	.comm	_PCOCR,4,2                      ## @PCOCR
	.comm	_uPD98402_PCO_HECC,4,2          ## @uPD98402_PCO_HECC
	.comm	_PCOMR,4,2                      ## @PCOMR
	.comm	_PICR,4,2                       ## @PICR
	.comm	_uPD98402_INT_PFM,4,2           ## @uPD98402_INT_PFM
	.comm	_uPD98402_INT_ALM,4,2           ## @uPD98402_INT_ALM
	.comm	_uPD98402_INT_RFO,4,2           ## @uPD98402_INT_RFO
	.comm	_uPD98402_INT_LOS,4,2           ## @uPD98402_INT_LOS
	.comm	_PIMR,4,2                       ## @PIMR
	.no_dead_strip	_uPD98402_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uPD98402_start
_uPD98402_start:                        ; @uPD98402_start
	.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	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINTK
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kmalloc
	str	w0, [x19]
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_PRIV
	add	x0, x0, #12
	bl	_spin_lock_init
	mov	x0, x19
	bl	_PRIV
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh5:
	adrp	x8, _PCR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_GET
Lloh8:
	adrp	x8, _uPD98402_PFM_FJ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _uPD98402_PFM_FJ@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _PCMR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PCMR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_PUT
Lloh14:
	adrp	x8, _PCOCR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PCOCR@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_GET
Lloh17:
	adrp	x8, _uPD98402_PCO_HECC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _uPD98402_PCO_HECC@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	mvn	w0, w8
Lloh20:
	adrp	x8, _PCOMR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PCOMR@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_PUT
Lloh23:
	adrp	x8, _PICR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PICR@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_GET
Lloh26:
	adrp	x8, _uPD98402_INT_PFM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _uPD98402_INT_PFM@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _uPD98402_INT_ALM@GOTPAGE
Lloh30:
	ldr	x9, [x9, _uPD98402_INT_ALM@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh32:
	adrp	x9, _uPD98402_INT_RFO@GOTPAGE
Lloh33:
	ldr	x9, [x9, _uPD98402_INT_RFO@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh35:
	adrp	x9, _uPD98402_INT_LOS@GOTPAGE
Lloh36:
	ldr	x9, [x9, _uPD98402_INT_LOS@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w8, w8, w9
	mvn	w0, w8
Lloh38:
	adrp	x8, _PIMR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PIMR@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	bl	_PUT
	mov	x0, x19
	mov	x1, #0
	mov	w2, #1
	bl	_fetch_stats
	mov	x0, x19
	bl	_PRIV
	add	x0, x0, #8
	mov	w1, #-1
	bl	_atomic_set
	mov	x0, x19
	bl	_PRIV
	add	x0, x0, #4
	mov	w1, #-1
	bl	_atomic_set
	mov	x0, x19
	bl	_PRIV
	mov	w1, #-1
	bl	_atomic_set
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh41:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"phy_start\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PCR,4,2                        ; @PCR
	.comm	_uPD98402_PFM_FJ,4,2            ; @uPD98402_PFM_FJ
	.comm	_PCMR,4,2                       ; @PCMR
	.comm	_PCOCR,4,2                      ; @PCOCR
	.comm	_uPD98402_PCO_HECC,4,2          ; @uPD98402_PCO_HECC
	.comm	_PCOMR,4,2                      ; @PCOMR
	.comm	_PICR,4,2                       ; @PICR
	.comm	_uPD98402_INT_PFM,4,2           ; @uPD98402_INT_PFM
	.comm	_uPD98402_INT_ALM,4,2           ; @uPD98402_INT_ALM
	.comm	_uPD98402_INT_RFO,4,2           ; @uPD98402_INT_RFO
	.comm	_uPD98402_INT_LOS,4,2           ; @uPD98402_INT_LOS
	.comm	_PIMR,4,2                       ; @PIMR
	.no_dead_strip	_uPD98402_start
.subsections_via_symbols
