	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hfcpci_setmode
_hfcpci_setmode:                        ## @hfcpci_setmode
	.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	(%rdi), %rax
	movq	_ISDN_P_NT_S0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_CLKDEL_NT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, 8(%rbx)
	movq	_SCTRL_MODE_NT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%rbx)
	movl	$1, %eax
	jmp	LBB0_3
LBB0_2:
	movq	_CLKDEL_TE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, 8(%rbx)
	movq	_SCTRL_MODE_NT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 12(%rbx)
	movl	$2, %eax
LBB0_3:
	movl	%eax, 16(%rbx)
	movq	_HFCPCI_CLKDEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_Write_hfc
	movq	_HFCPCI_STATES@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_HFCPCI_LOAD_STATE@GOTPCREL(%rip), %rax
	movl	16(%rbx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_Write_hfc
	movl	$10, %edi
	callq	_udelay
	movl	(%r14), %esi
	movl	16(%rbx), %edx
	orl	$64, %edx
	movq	%rbx, %rdi
	callq	_Write_hfc
	movq	_HFCPCI_SCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%rbx), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Write_hfc                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ISDN_P_NT_S0,8,3               ## @ISDN_P_NT_S0
	.comm	_CLKDEL_NT,4,2                  ## @CLKDEL_NT
	.comm	_SCTRL_MODE_NT,4,2              ## @SCTRL_MODE_NT
	.comm	_CLKDEL_TE,4,2                  ## @CLKDEL_TE
	.comm	_HFCPCI_CLKDEL,4,2              ## @HFCPCI_CLKDEL
	.comm	_HFCPCI_STATES,4,2              ## @HFCPCI_STATES
	.comm	_HFCPCI_LOAD_STATE,4,2          ## @HFCPCI_LOAD_STATE
	.comm	_HFCPCI_SCTRL,4,2               ## @HFCPCI_SCTRL
	.no_dead_strip	_hfcpci_setmode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hfcpci_setmode
_hfcpci_setmode:                        ; @hfcpci_setmode
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ISDN_P_NT_S0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISDN_P_NT_S0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _CLKDEL_NT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CLKDEL_NT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _SCTRL_MODE_NT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SCTRL_MODE_NT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	stp	w2, w8, [x19, #8]
	mov	w8, #1
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _CLKDEL_TE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CLKDEL_TE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _SCTRL_MODE_NT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SCTRL_MODE_NT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	bic	w8, w9, w8
	stp	w2, w8, [x19, #8]
	mov	w8, #2
LBB0_3:
	str	w8, [x19, #16]
Lloh15:
	adrp	x8, _HFCPCI_CLKDEL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HFCPCI_CLKDEL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_Write_hfc
Lloh18:
	adrp	x20, _HFCPCI_STATES@GOTPAGE
Lloh19:
	ldr	x20, [x20, _HFCPCI_STATES@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh20:
	adrp	x8, _HFCPCI_LOAD_STATE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _HFCPCI_LOAD_STATE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_Write_hfc
	mov	w0, #10
	bl	_udelay
	ldr	w1, [x20]
	ldr	w8, [x19, #16]
	orr	w2, w8, #0x40
	mov	x0, x19
	bl	_Write_hfc
Lloh23:
	adrp	x8, _HFCPCI_SCTRL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _HFCPCI_SCTRL@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	ldr	w2, [x19, #12]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Write_hfc
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ISDN_P_NT_S0,8,3               ; @ISDN_P_NT_S0
	.comm	_CLKDEL_NT,4,2                  ; @CLKDEL_NT
	.comm	_SCTRL_MODE_NT,4,2              ; @SCTRL_MODE_NT
	.comm	_CLKDEL_TE,4,2                  ; @CLKDEL_TE
	.comm	_HFCPCI_CLKDEL,4,2              ; @HFCPCI_CLKDEL
	.comm	_HFCPCI_STATES,4,2              ; @HFCPCI_STATES
	.comm	_HFCPCI_LOAD_STATE,4,2          ; @HFCPCI_LOAD_STATE
	.comm	_HFCPCI_SCTRL,4,2               ; @HFCPCI_SCTRL
	.no_dead_strip	_hfcpci_setmode
.subsections_via_symbols
