	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adis16480_get_ext_clocks
_adis16480_get_ext_clocks:              ## @adis16480_get_ext_clocks
	.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	_ADIS16480_CLK_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	8(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_devm_clk_get
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	(%rbx), %rdi
	callq	_PTR_ERR
	movq	_ENOENT@GOTPCREL(%rip), %r14
	addl	(%r14), %eax
	jne	LBB0_9
## %bb.4:
	movq	24(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.5:
	movq	8(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_devm_clk_get
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	(%rbx), %rdi
	callq	_PTR_ERR
	addl	(%r14), %eax
	je	LBB0_8
LBB0_9:
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movq	(%rbx), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ADIS16480_CLK_SYNC@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	_ADIS16480_CLK_PPS@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ADIS16480_CLK_INT,4,2          ## @ADIS16480_CLK_INT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sync"

	.comm	_ADIS16480_CLK_SYNC,4,2         ## @ADIS16480_CLK_SYNC
	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"failed to get ext clk\n"

L_.str.2:                               ## @.str.2
	.asciz	"pps"

	.comm	_ADIS16480_CLK_PPS,4,2          ## @ADIS16480_CLK_PPS
	.no_dead_strip	_adis16480_get_ext_clocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adis16480_get_ext_clocks
_adis16480_get_ext_clocks:              ; @adis16480_get_ext_clocks
	.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, _ADIS16480_CLK_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADIS16480_CLK_INT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	ldr	x0, [x0, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_devm_clk_get
	str	x0, [x19]
	bl	_IS_ERR_OR_NULL
	cbz	w0, LBB0_6
; %bb.1:
	ldr	x0, [x19]
	bl	_PTR_ERR
Lloh5:
	adrp	x20, _ENOENT@GOTPAGE
Lloh6:
	ldr	x20, [x20, _ENOENT@GOTPAGEOFF]
	ldr	w8, [x20]
	cmn	w0, w8
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.3:
	ldr	x0, [x19, #8]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_devm_clk_get
	str	x0, [x19]
	bl	_IS_ERR_OR_NULL
	cbz	w0, LBB0_9
; %bb.4:
	ldr	x0, [x19]
	bl	_PTR_ERR
	ldr	w8, [x20]
	cmn	w0, w8
	b.eq	LBB0_8
LBB0_5:
	ldr	x0, [x19, #8]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_6:
Lloh11:
	adrp	x8, _ADIS16480_CLK_SYNC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ADIS16480_CLK_SYNC@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	str	w8, [x19, #16]
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh13:
	adrp	x8, _ADIS16480_CLK_PPS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ADIS16480_CLK_PPS@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ADIS16480_CLK_INT,4,2          ; @ADIS16480_CLK_INT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sync"

	.comm	_ADIS16480_CLK_SYNC,4,2         ; @ADIS16480_CLK_SYNC
	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"failed to get ext clk\n"

l_.str.2:                               ; @.str.2
	.asciz	"pps"

	.comm	_ADIS16480_CLK_PPS,4,2          ; @ADIS16480_CLK_PPS
	.no_dead_strip	_adis16480_get_ext_clocks
.subsections_via_symbols
