	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_ssi_clk                    ## -- Begin function get_ssi_clk
	.p2align	4, 0x90
_get_ssi_clk:                           ## @get_ssi_clk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$1, %edi
	je	LBB0_5
## %bb.1:
	testl	%edi, %edi
	jne	LBB0_7
## %bb.2:
	leaq	L_.str(%rip), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_clk_get
	movq	_ssi_clk0@GOTPCREL(%rip), %rbx
	jmp	LBB0_3
LBB0_5:
	leaq	L_.str.1(%rip), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_clk_get
	movq	_ssi_clk1@GOTPCREL(%rip), %rbx
LBB0_3:
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_4:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ssi1"

	.comm	_ssi_clk0,4,2                   ## @ssi_clk0
L_.str.1:                               ## @.str.1
	.asciz	"ssi2"

	.comm	_ssi_clk1,4,2                   ## @ssi_clk1
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_ssi_clk                    ; -- Begin function get_ssi_clk
	.p2align	2
_get_ssi_clk:                           ; @get_ssi_clk
	.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
	cmp	w0, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w0, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	mov	x0, x1
	mov	x1, x8
	bl	_clk_get
Lloh2:
	adrp	x19, _ssi_clk0@GOTPAGE
Lloh3:
	ldr	x19, [x19, _ssi_clk0@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, l_.str.1@PAGE
Lloh5:
	add	x8, x8, l_.str.1@PAGEOFF
	mov	x0, x1
	mov	x1, x8
	bl	_clk_get
Lloh6:
	adrp	x19, _ssi_clk1@GOTPAGE
Lloh7:
	ldr	x19, [x19, _ssi_clk1@GOTPAGEOFF]
LBB0_4:
	str	w0, [x19]
	bl	_IS_ERR
	cbz	w0, LBB0_7
; %bb.5:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_6:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ssi1"

	.comm	_ssi_clk0,4,2                   ; @ssi_clk0
l_.str.1:                               ; @.str.1
	.asciz	"ssi2"

	.comm	_ssi_clk1,4,2                   ; @ssi_clk1
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
