	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function novatd_read_status_override
_novatd_read_status_override:           ## @novatd_read_status_override
	.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	%rsi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movq	8(%rbx), %r14
	movq	(%r14), %rax
	callq	*(%rax)
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	cmpq	$0, (%rbx)
	jne	LBB0_2
## %bb.3:
	movq	_GPIO1@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_GPIO0@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	movq	_GPIO_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%r15), %eax
	setne	%cl
	movq	%r14, %rdi
	callq	_dib0700_set_gpio
LBB0_5:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIO1,4,2                      ## @GPIO1
	.comm	_GPIO0,4,2                      ## @GPIO0
	.comm	_GPIO_OUT,4,2                   ## @GPIO_OUT
	.comm	_FE_HAS_LOCK,4,2                ## @FE_HAS_LOCK
	.no_dead_strip	_novatd_read_status_override
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function novatd_read_status_override
_novatd_read_status_override:           ; @novatd_read_status_override
	.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	x21, x1
	ldr	x8, [x0]
	ldr	x22, [x8]
	ldr	x19, [x22, #8]
	ldr	x8, [x19]
	ldr	x8, [x8]
	blr	x8
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _GPIO1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GPIO1@GOTPAGEOFF]
Lloh2:
	adrp	x10, _GPIO0@GOTPAGE
Lloh3:
	ldr	x10, [x10, _GPIO0@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w1, [x8]
Lloh4:
	adrp	x8, _GPIO_OUT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GPIO_OUT@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	ldr	w8, [x21]
Lloh7:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w3, ne
	mov	x0, x19
	bl	_dib0700_set_gpio
LBB0_2:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIO1,4,2                      ; @GPIO1
	.comm	_GPIO0,4,2                      ; @GPIO0
	.comm	_GPIO_OUT,4,2                   ; @GPIO_OUT
	.comm	_FE_HAS_LOCK,4,2                ; @FE_HAS_LOCK
	.no_dead_strip	_novatd_read_status_override
.subsections_via_symbols
