	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s5p_cec_get_status             ## -- Begin function s5p_cec_get_status
	.p2align	4, 0x90
_s5p_cec_get_status:                    ## @s5p_cec_get_status
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_S5P_CEC_STATUS_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_readb
	movl	%eax, %r15d
	andl	$15, %r15d
	movq	_S5P_CEC_TX_STAT1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_readb
	shll	$4, %eax
	movzbl	%al, %ebx
	orl	%r15d, %ebx
	movq	_S5P_CEC_STATUS_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_readb
	movl	%eax, %r12d
	shll	$8, %r12d
	orl	%ebx, %r12d
	movq	_S5P_CEC_STATUS_2@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_readb
	movl	%eax, %r15d
	shll	$16, %r15d
	movq	_S5P_CEC_STATUS_3@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_readb
	movl	%eax, %ebx
	shll	$24, %ebx
	orl	%r15d, %ebx
	orl	%r12d, %ebx
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_dbg
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S5P_CEC_STATUS_0,8,3           ## @S5P_CEC_STATUS_0
	.comm	_S5P_CEC_TX_STAT1,8,3           ## @S5P_CEC_TX_STAT1
	.comm	_S5P_CEC_STATUS_1,8,3           ## @S5P_CEC_STATUS_1
	.comm	_S5P_CEC_STATUS_2,8,3           ## @S5P_CEC_STATUS_2
	.comm	_S5P_CEC_STATUS_3,8,3           ## @S5P_CEC_STATUS_3
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"status = 0x%x!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s5p_cec_get_status             ; -- Begin function s5p_cec_get_status
	.p2align	2
_s5p_cec_get_status:                    ; @s5p_cec_get_status
	.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, #8]
Lloh0:
	adrp	x9, _S5P_CEC_STATUS_0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _S5P_CEC_STATUS_0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readb
	mov	x20, x0
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _S5P_CEC_TX_STAT1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _S5P_CEC_TX_STAT1@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readb
	bfi	w20, w0, #4, #4
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _S5P_CEC_STATUS_1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _S5P_CEC_STATUS_1@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readb
	bfi	w20, w0, #8, #24
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x9, _S5P_CEC_STATUS_2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _S5P_CEC_STATUS_2@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readb
	orr	w20, w20, w0, lsl #16
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _S5P_CEC_STATUS_3@GOTPAGE
Lloh13:
	ldr	x9, [x9, _S5P_CEC_STATUS_3@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readb
	orr	w20, w20, w0, lsl #24
	ldr	w0, [x19]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_dbg
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_S5P_CEC_STATUS_0,8,3           ; @S5P_CEC_STATUS_0
	.comm	_S5P_CEC_TX_STAT1,8,3           ; @S5P_CEC_TX_STAT1
	.comm	_S5P_CEC_STATUS_1,8,3           ; @S5P_CEC_STATUS_1
	.comm	_S5P_CEC_STATUS_2,8,3           ; @S5P_CEC_STATUS_2
	.comm	_S5P_CEC_STATUS_3,8,3           ; @S5P_CEC_STATUS_3
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"status = 0x%x!\n"

.subsections_via_symbols
