	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hp_sdc_rtc_read_bbrtc
_hp_sdc_rtc_read_bbrtc:                 ## @hp_sdc_rtc_read_bbrtc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	-40(%rbp), %rdi
	callq	_hp_sdc_rtc_do_read_bbrtc
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_14
## %bb.1:
	leaq	-32(%rbp), %rdi
	callq	_hp_sdc_rtc_do_read_bbrtc
	testq	%rax, %rax
	jne	LBB0_14
## %bb.2:
	leaq	-32(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:
	leaq	-40(%rbp), %rdi
	leaq	-32(%rbp), %r15
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, %rdi
	callq	_hp_sdc_rtc_do_read_bbrtc
	testq	%rax, %rax
	jne	LBB0_14
## %bb.4:
	leaq	-32(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	leaq	-40(%rbp), %rdi
	leaq	-32(%rbp), %r15
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, %rdi
	callq	_hp_sdc_rtc_do_read_bbrtc
	testq	%rax, %rax
	jne	LBB0_14
## %bb.6:
	leaq	-32(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	leaq	-40(%rbp), %rdi
	leaq	-32(%rbp), %r15
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, %rdi
	callq	_hp_sdc_rtc_do_read_bbrtc
	testq	%rax, %rax
	jne	LBB0_14
## %bb.8:
	leaq	-32(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	leaq	-40(%rbp), %rdi
	leaq	-32(%rbp), %r15
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, %rdi
	callq	_hp_sdc_rtc_do_read_bbrtc
	testq	%rax, %rax
	jne	LBB0_14
## %bb.10:
	leaq	-32(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	leaq	-40(%rbp), %rdi
	leaq	-32(%rbp), %r15
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, %rdi
	callq	_hp_sdc_rtc_do_read_bbrtc
	testq	%rax, %rax
	jne	LBB0_14
## %bb.12:
	leaq	-32(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_14
LBB0_13:
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
	xorl	%ebx, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hp_sdc_rtc_read_bbrtc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hp_sdc_rtc_read_bbrtc
_hp_sdc_rtc_read_bbrtc:                 ; @hp_sdc_rtc_read_bbrtc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, sp
	bl	_hp_sdc_rtc_do_read_bbrtc
	cbnz	x0, LBB0_2
; %bb.1:
	add	x0, sp, #8
	bl	_hp_sdc_rtc_do_read_bbrtc
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	add	x0, sp, #8
	mov	x1, sp
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_15
; %bb.5:
	mov	x0, sp
	add	x1, sp, #8
	mov	w2, #4
	bl	_memcpy
	add	x0, sp, #8
	bl	_hp_sdc_rtc_do_read_bbrtc
	cbnz	x0, LBB0_2
; %bb.6:
	add	x0, sp, #8
	mov	x1, sp
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_15
; %bb.7:
	mov	x0, sp
	add	x1, sp, #8
	mov	w2, #4
	bl	_memcpy
	add	x0, sp, #8
	bl	_hp_sdc_rtc_do_read_bbrtc
	cbnz	x0, LBB0_2
; %bb.8:
	add	x0, sp, #8
	mov	x1, sp
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_15
; %bb.9:
	mov	x0, sp
	add	x1, sp, #8
	mov	w2, #4
	bl	_memcpy
	add	x0, sp, #8
	bl	_hp_sdc_rtc_do_read_bbrtc
	cbnz	x0, LBB0_2
; %bb.10:
	add	x0, sp, #8
	mov	x1, sp
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_15
; %bb.11:
	mov	x0, sp
	add	x1, sp, #8
	mov	w2, #4
	bl	_memcpy
	add	x0, sp, #8
	bl	_hp_sdc_rtc_do_read_bbrtc
	cbnz	x0, LBB0_2
; %bb.12:
	add	x0, sp, #8
	mov	x1, sp
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_15
; %bb.13:
	mov	x0, sp
	add	x1, sp, #8
	mov	w2, #4
	bl	_memcpy
	add	x0, sp, #8
	bl	_hp_sdc_rtc_do_read_bbrtc
	cbnz	x0, LBB0_2
; %bb.14:
	add	x0, sp, #8
	mov	x1, sp
	mov	w2, #4
	bl	_memcmp
	cbnz	x0, LBB0_2
LBB0_15:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
	mov	w0, #0
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hp_sdc_rtc_read_bbrtc
.subsections_via_symbols
