	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cec_gpio_status
_cec_gpio_status:                       ## @cec_gpio_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_cec_get_drvdata
	movq	%rax, %rbx
	cmpq	$0, 40(%rax)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_seq_printf
	movq	(%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_seq_printf
	cmpq	$0, 32(%rbx)
	je	LBB0_2
## %bb.1:
	cmpq	$0, 24(%rbx)
	leaq	L_.str.6(%rip), %rax
	leaq	L_.str.5(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_seq_printf
LBB0_2:
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.4:
	cmpq	$0, 8(%rbx)
	leaq	L_.str.6(%rip), %rax
	leaq	L_.str.5(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_seq_printf                     ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mode: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"low-drive"

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

L_.str.3:                               ## @.str.3
	.asciz	"using irq: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"hpd: %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"high"

L_.str.6:                               ## @.str.6
	.asciz	"low"

L_.str.7:                               ## @.str.7
	.asciz	"5V: %s\n"

	.no_dead_strip	_cec_gpio_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cec_gpio_status
_cec_gpio_status:                       ; @cec_gpio_status
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	bl	_cec_get_drvdata
	mov	x20, x0
	ldr	x8, [x0, #40]
Lloh0:
	adrp	x9, l_.str.1@PAGE
Lloh1:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh2:
	adrp	x10, l_.str.2@PAGE
Lloh3:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x2, x10, x9, eq
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x2, [x20]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x20, #32]
Lloh8:
	adrp	x21, l_.str.5@PAGE
Lloh9:
	add	x21, x21, l_.str.5@PAGEOFF
Lloh10:
	adrp	x22, l_.str.6@PAGE
Lloh11:
	add	x22, x22, l_.str.6@PAGEOFF
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x20, #24]
	cmp	x8, #0
	csel	x2, x22, x21, eq
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
LBB0_2:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x20, #8]
	cmp	x8, #0
	csel	x2, x22, x21, eq
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_seq_printf
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mode: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"low-drive"

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

l_.str.3:                               ; @.str.3
	.asciz	"using irq: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"hpd: %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"high"

l_.str.6:                               ; @.str.6
	.asciz	"low"

l_.str.7:                               ; @.str.7
	.asciz	"5V: %s\n"

	.no_dead_strip	_cec_gpio_status
.subsections_via_symbols
