	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_saa7134_track_gpio             ## -- Begin function saa7134_track_gpio
	.p2align	4, 0x90
_saa7134_track_gpio:                    ## @saa7134_track_gpio
	.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	_gpio_tracking@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_SAA7134_GPIO_GPMODE3@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_SAA7134_GPIO_GPRESCAN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	xorl	%edx, %edx
	callq	_saa_andorb
	movl	(%r12), %edi
	movl	(%rbx), %edx
	movl	%edx, %esi
	callq	_saa_andorb
	movq	_SAA7134_GPIO_GPMODE0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	sarl	$2, %edi
	callq	_saa_readl
	movl	%eax, %r12d
	movl	%eax, %ebx
	andl	$268435455, %ebx                ## imm = 0xFFFFFFF
	movq	_SAA7134_GPIO_GPSTATUS0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	sarl	$2, %edi
	callq	_saa_readl
	andl	$268435455, %eax                ## imm = 0xFFFFFFF
	movl	(%r15), %esi
	movl	%ebx, %ecx
	notl	%ecx
	andl	%eax, %ecx
	andl	%eax, %r12d
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rdx
	movq	%r12, %r8
	movq	%r14, %r9
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_core_dbg                       ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gpio_tracking,4,2              ## @gpio_tracking
	.comm	_SAA7134_GPIO_GPMODE3,4,2       ## @SAA7134_GPIO_GPMODE3
	.comm	_SAA7134_GPIO_GPRESCAN,4,2      ## @SAA7134_GPIO_GPRESCAN
	.comm	_SAA7134_GPIO_GPMODE0,4,2       ## @SAA7134_GPIO_GPMODE0
	.comm	_SAA7134_GPIO_GPSTATUS0,4,2     ## @SAA7134_GPIO_GPSTATUS0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: gpio: mode=0x%07lx in=0x%07lx out=0x%07lx [%s]\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_saa7134_track_gpio             ; -- Begin function saa7134_track_gpio
	.p2align	2
_saa7134_track_gpio:                    ; @saa7134_track_gpio
	.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
Lloh0:
	adrp	x8, _gpio_tracking@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gpio_tracking@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh3:
	adrp	x21, _SAA7134_GPIO_GPMODE3@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SAA7134_GPIO_GPMODE3@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh5:
	adrp	x22, _SAA7134_GPIO_GPRESCAN@GOTPAGE
Lloh6:
	ldr	x22, [x22, _SAA7134_GPIO_GPRESCAN@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w2, #0
	bl	_saa_andorb
	ldr	w0, [x21]
	ldr	w1, [x22]
	mov	x2, x1
	bl	_saa_andorb
Lloh7:
	adrp	x8, _SAA7134_GPIO_GPMODE0@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SAA7134_GPIO_GPMODE0@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	asr	w0, w8, #2
	bl	_saa_readl
	mov	x21, x0
	and	w22, w0, #0xfffffff
Lloh10:
	adrp	x8, _SAA7134_GPIO_GPSTATUS0@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SAA7134_GPIO_GPSTATUS0@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	asr	w0, w8, #2
	bl	_saa_readl
	and	w8, w0, #0xfffffff
	ldr	w1, [x20]
	bic	x3, x8, x22
	and	w4, w8, w21
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x22
	mov	x5, 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	_core_dbg
LBB0_2:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_gpio_tracking,4,2              ; @gpio_tracking
	.comm	_SAA7134_GPIO_GPMODE3,4,2       ; @SAA7134_GPIO_GPMODE3
	.comm	_SAA7134_GPIO_GPRESCAN,4,2      ; @SAA7134_GPIO_GPRESCAN
	.comm	_SAA7134_GPIO_GPMODE0,4,2       ; @SAA7134_GPIO_GPMODE0
	.comm	_SAA7134_GPIO_GPSTATUS0,4,2     ; @SAA7134_GPIO_GPSTATUS0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: gpio: mode=0x%07lx in=0x%07lx out=0x%07lx [%s]\n"

.subsections_via_symbols
