	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_saa7134_i2c_register           ## -- Begin function saa7134_i2c_register
	.p2align	4, 0x90
_saa7134_i2c_register:                  ## @saa7134_i2c_register
	.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	%rdi, %rbx
	leaq	16(%rdi), %r14
	movq	_saa7134_adap_template@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, 16(%rdi)
	movq	48(%rdi), %rax
	movq	%rax, 32(%rdi)
	movl	24(%rdi), %edi
	movl	44(%rbx), %esi
	movl	$4, %edx
	callq	_strscpy
	movq	%rbx, 16(%rbx)
	leaq	40(%rbx), %rsi
	movq	%r14, %rdi
	callq	_i2c_set_adapdata
	movq	%r14, %rdi
	callq	_i2c_add_adapter
	movq	%r14, (%rbx)
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_saa7134_i2c_eeprom
	movq	_i2c_scan@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_do_i2c_scan
LBB0_2:
	movq	%rbx, %rdi
	callq	_saa7134_probe_i2c_ir
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_saa7134_adap_template,24,3     ## @saa7134_adap_template
	.comm	_saa7134_client_template,8,3    ## @saa7134_client_template
	.comm	_i2c_scan,8,3                   ## @i2c_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_saa7134_i2c_register           ; -- Begin function saa7134_i2c_register
	.p2align	2
_saa7134_i2c_register:                  ; @saa7134_i2c_register
	.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
	add	x20, x0, #16
Lloh0:
	adrp	x8, _saa7134_adap_template@GOTPAGE
Lloh1:
	ldr	x8, [x8, _saa7134_adap_template@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [x0, #16]
	ldr	x8, [x0, #48]
	str	x8, [x0, #32]
	ldr	w0, [x0, #24]
	ldr	w1, [x19, #44]
	mov	w2, #4
	bl	_strscpy
	str	x19, [x19, #16]
	add	x1, x19, #40
	mov	x0, x20
	bl	_i2c_set_adapdata
	mov	x0, x20
	bl	_i2c_add_adapter
	str	x20, [x19]
	ldr	w1, [x19, #8]
	mov	x0, x19
	mov	w2, #4
	bl	_saa7134_i2c_eeprom
Lloh3:
	adrp	x8, _i2c_scan@GOTPAGE
Lloh4:
	ldr	x8, [x8, _i2c_scan@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_do_i2c_scan
LBB0_2:
	mov	x0, x19
	bl	_saa7134_probe_i2c_ir
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_saa7134_adap_template,24,3     ; @saa7134_adap_template
	.comm	_saa7134_client_template,8,3    ; @saa7134_client_template
	.comm	_i2c_scan,8,3                   ; @i2c_scan
.subsections_via_symbols
