	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sis5595_probe
_sis5595_probe:                         ## @sis5595_probe
	.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
	callq	_sis5595_setup
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_5:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_6
LBB0_2:
	movq	_sis5595_adapter@GOTPCREL(%rip), %rbx
	movq	%r14, 8(%rbx)
	movl	(%rbx), %edi
	movq	_sis5595_base@GOTPCREL(%rip), %r15
	movq	_SMB_INDEX@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	addl	(%r15), %ecx
	leaq	L_.str.1(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_i2c_add_adapter
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	movl	(%r12), %edi
	addl	(%r15), %edi
	movl	$2, %esi
	callq	_release_region
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	callq	_pci_dev_get
	movq	_sis5595_pdev@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SIS5595 not detected, module not inserted.\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_sis5595_adapter,16,3           ## @sis5595_adapter
L_.str.1:                               ## @.str.1
	.asciz	"SMBus SIS5595 adapter at %04x"

	.comm	_sis5595_base,4,2               ## @sis5595_base
	.comm	_SMB_INDEX,4,2                  ## @SMB_INDEX
	.comm	_sis5595_pdev,4,2               ## @sis5595_pdev
	.no_dead_strip	_sis5595_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sis5595_probe
_sis5595_probe:                         ; @sis5595_probe
	.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, x0
	bl	_sis5595_setup
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_2:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x20, _sis5595_adapter@GOTPAGE
Lloh6:
	ldr	x20, [x20, _sis5595_adapter@GOTPAGEOFF]
	str	x19, [x20, #8]
Lloh7:
	adrp	x21, _sis5595_base@GOTPAGE
Lloh8:
	ldr	x21, [x21, _sis5595_base@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	w8, [x21]
Lloh9:
	adrp	x22, _SMB_INDEX@GOTPAGE
Lloh10:
	ldr	x22, [x22, _SMB_INDEX@GOTPAGEOFF]
	ldr	w9, [x22]
	add	w3, w9, w8
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	mov	x0, x20
	bl	_i2c_add_adapter
	cbz	w0, LBB0_6
; %bb.4:
	mov	x20, x0
	ldr	w8, [x21]
	ldr	w9, [x22]
	add	w0, w9, w8
	mov	w1, #2
	bl	_release_region
LBB0_5:
	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
LBB0_6:
	mov	x0, x19
	bl	_pci_dev_get
Lloh13:
	adrp	x8, _sis5595_pdev@GOTPAGE
Lloh14:
	ldr	x8, [x8, _sis5595_pdev@GOTPAGEOFF]
Lloh15:
	str	w0, [x8]
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SIS5595 not detected, module not inserted.\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_sis5595_adapter,16,3           ; @sis5595_adapter
l_.str.1:                               ; @.str.1
	.asciz	"SMBus SIS5595 adapter at %04x"

	.comm	_sis5595_base,4,2               ; @sis5595_base
	.comm	_SMB_INDEX,4,2                  ; @SMB_INDEX
	.comm	_sis5595_pdev,4,2               ; @sis5595_pdev
	.no_dead_strip	_sis5595_probe
.subsections_via_symbols
