	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_tiny_usb_probe
_i2c_tiny_usb_probe:                    ## @i2c_tiny_usb_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_interface_to_usbdev
	movl	%eax, %edi
	callq	_usb_get_dev
	movq	%rax, 48(%rbx)
	movq	%r15, 40(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_usb_set_intfdata
	movq	48(%rbx), %rax
	movl	16(%rax), %edi
	callq	_le16_to_cpu
	movzbl	%al, %ecx
	movl	%eax, %edx
	sarl	$8, %edx
	movq	48(%rbx), %rax
	movq	8(%rax), %rsi
	movl	(%rsi), %r8d
	movl	(%rax), %r9d
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_I2C_CLASS_HWMON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_usb_algorithm@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	%rbx, 16(%rbx)
	movl	8(%rbx), %edi
	movq	48(%rbx), %rax
	movq	8(%rax), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %r8d
	leaq	L_.str.3(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movq	_CMD_SET_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_delay@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_usb_write
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	(%r15), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_i2c_tiny_usb_free
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	negl	%r14d
	jmp	LBB0_5
LBB0_3:
	movq	40(%rbx), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_i2c_add_adapter
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_info
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"probing usb device\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"Out of memory\n"

L_.str.2:                               ## @.str.2
	.asciz	"version %x.%02x found at bus %03d address %03d\n"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_I2C_CLASS_HWMON,4,2            ## @I2C_CLASS_HWMON
	.comm	_usb_algorithm,4,2              ## @usb_algorithm
L_.str.3:                               ## @.str.3
	.asciz	"i2c-tiny-usb at bus %03d device %03d"

	.comm	_CMD_SET_DELAY,4,2              ## @CMD_SET_DELAY
	.comm	_delay,4,2                      ## @delay
L_.str.4:                               ## @.str.4
	.asciz	"failure setting delay to %dus\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.5:                               ## @.str.5
	.asciz	"connected i2c-tiny-usb device\n"

	.no_dead_strip	_i2c_tiny_usb_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_tiny_usb_probe
_i2c_tiny_usb_probe:                    ; @i2c_tiny_usb_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_interface_to_usbdev
	bl	_usb_get_dev
	stp	x20, x0, [x19, #40]
	mov	x0, x20
	mov	x1, x19
	bl	_usb_set_intfdata
	ldr	x8, [x19, #48]
	ldr	w0, [x8, #16]
	bl	_le16_to_cpu
	asr	w8, w0, #8
	and	w9, w0, #0xff
	ldr	x10, [x19, #48]
	ldr	x11, [x10, #8]
	ldr	w11, [x11]
	ldr	w10, [x10]
	stp	x11, x10, [sp, #16]
	stp	x8, x9, [sp]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_info
Lloh10:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _I2C_CLASS_HWMON@GOTPAGE
Lloh14:
	ldr	x9, [x9, _I2C_CLASS_HWMON@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #32]
Lloh16:
	adrp	x8, _usb_algorithm@GOTPAGE
Lloh17:
	ldr	x8, [x8, _usb_algorithm@GOTPAGEOFF]
	stp	x19, x8, [x19, #16]
	ldr	w0, [x19, #8]
	ldr	x8, [x19, #48]
	ldr	x9, [x8, #8]
	ldr	w3, [x9]
	ldr	w4, [x8]
Lloh18:
	adrp	x2, l_.str.3@PAGE
Lloh19:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w1, #4
	bl	_snprintf
Lloh20:
	adrp	x8, _CMD_SET_DELAY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CMD_SET_DELAY@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x20, _delay@GOTPAGE
Lloh24:
	ldr	x20, [x20, _delay@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	mov	x4, #0
	mov	w5, #0
	bl	_usb_write
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w8, [x20]
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh27:
	adrp	x8, _EIO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w20, w8
	mov	x0, x19
	bl	_i2c_tiny_usb_free
	b	LBB0_5
LBB0_3:
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	neg	w20, w21
	b	LBB0_5
LBB0_4:
	ldr	x8, [x19, #40]
	str	x8, [x19]
	mov	x0, x19
	bl	_i2c_add_adapter
Lloh32:
	adrp	x1, l_.str.5@PAGE
Lloh33:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w20, #0
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"probing usb device\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"Out of memory\n"

l_.str.2:                               ; @.str.2
	.asciz	"version %x.%02x found at bus %03d address %03d\n"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_I2C_CLASS_HWMON,4,2            ; @I2C_CLASS_HWMON
	.comm	_usb_algorithm,4,2              ; @usb_algorithm
l_.str.3:                               ; @.str.3
	.asciz	"i2c-tiny-usb at bus %03d device %03d"

	.comm	_CMD_SET_DELAY,4,2              ; @CMD_SET_DELAY
	.comm	_delay,4,2                      ; @delay
l_.str.4:                               ; @.str.4
	.asciz	"failure setting delay to %dus\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.5:                               ; @.str.5
	.asciz	"connected i2c-tiny-usb device\n"

	.no_dead_strip	_i2c_tiny_usb_probe
.subsections_via_symbols
