	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hp03_probe
_hp03_probe:                            ## @hp03_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	leaq	4(%rdi), %r12
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r14
	movq	%r15, 16(%rax)
	leaq	12(%rax), %rdi
	callq	_mutex_init
	movq	%r12, 32(%rbx)
	movl	(%r13), %eax
	movl	%eax, 24(%rbx)
	movq	_hp03_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 20(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 16(%rbx)
	movq	_hp03_info@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_GPIOD_OUT_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_devm_gpiod_get_index
	movl	%eax, 8(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movl	8(%r14), %edi
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_12:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	(%r15), %edi
	movq	_HP03_EEPROM_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_new_dummy_device
	movl	%eax, (%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movl	(%r14), %edi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_7:
	movl	(%r14), %edi
	movq	_hp03_regmap_config@GOTPCREL(%rip), %rsi
	callq	_regmap_init_i2c
	movl	%eax, 4(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movl	4(%r14), %edi
	callq	_PTR_ERR
	movl	%eax, %r13d
	jmp	LBB0_11
LBB0_9:
	movq	%rbx, %rdi
	callq	_iio_device_register
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:
	movl	%eax, %r13d
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movl	4(%r14), %edi
	callq	_regmap_exit
LBB0_11:
	movl	(%r14), %edi
	callq	_i2c_unregister_device
	jmp	LBB0_12
LBB0_13:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	xorl	%r13d, %r13d
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_hp03_channels,4,2              ## @hp03_channels
	.comm	_hp03_info,4,2                  ## @hp03_info
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xclr"

	.comm	_GPIOD_OUT_HIGH,4,2             ## @GPIOD_OUT_HIGH
L_.str.1:                               ## @.str.1
	.asciz	"Failed to claim XCLR GPIO\n"

	.comm	_HP03_EEPROM_ADDR,4,2           ## @HP03_EEPROM_ADDR
L_.str.2:                               ## @.str.2
	.asciz	"New EEPROM I2C device failed\n"

	.comm	_hp03_regmap_config,4,2         ## @hp03_regmap_config
L_.str.3:                               ## @.str.3
	.asciz	"Failed to allocate EEPROM regmap\n"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to register IIO device\n"

	.no_dead_strip	_hp03_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hp03_probe
_hp03_probe:                            ; @hp03_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x1
	mov	x21, x0
	add	x20, x0, #4
	mov	x0, x20
	mov	w1, #24
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	bl	_iio_priv
	mov	x19, x0
	str	x21, [x0, #16]
	add	x0, x0, #12
	bl	_mutex_init
	str	x20, [x22, #32]
	ldr	w8, [x23]
Lloh0:
	adrp	x9, _hp03_channels@GOTPAGE
Lloh1:
	ldr	x9, [x9, _hp03_channels@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	stp	w0, w8, [x22, #20]
	bl	_ARRAY_SIZE
	str	w0, [x22, #16]
Lloh3:
	adrp	x8, _hp03_info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hp03_info@GOTPAGEOFF]
Lloh5:
	adrp	x9, _INDIO_DIRECT_MODE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _INDIO_DIRECT_MODE@GOTPAGEOFF]
	str	x8, [x22, #8]
Lloh7:
	ldr	w8, [x9]
	str	w8, [x22]
Lloh8:
	adrp	x8, _GPIOD_OUT_HIGH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GPIOD_OUT_HIGH@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #0
	bl	_devm_gpiod_get_index
	str	w0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w0, [x19, #8]
	b	LBB0_7
LBB0_3:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_4:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w0, [x21]
Lloh18:
	adrp	x8, _HP03_EEPROM_ADDR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HP03_EEPROM_ADDR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_i2c_new_dummy_device
	str	w0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.6:
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w0, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_8:
	ldr	w0, [x19]
Lloh23:
	adrp	x1, _hp03_regmap_config@GOTPAGE
Lloh24:
	ldr	x1, [x1, _hp03_regmap_config@GOTPAGEOFF]
	bl	_regmap_init_i2c
	str	w0, [x19, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w0, [x19, #4]
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_12
LBB0_10:
	mov	x0, x22
	bl	_iio_device_register
	mov	x23, x0
	cbz	w0, LBB0_13
; %bb.11:
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w0, [x19, #4]
	bl	_regmap_exit
LBB0_12:
	ldr	w0, [x19]
	bl	_i2c_unregister_device
	b	LBB0_4
LBB0_13:
	mov	x0, x21
	mov	x1, x22
	bl	_i2c_set_clientdata
	b	LBB0_4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_hp03_channels,4,2              ; @hp03_channels
	.comm	_hp03_info,4,2                  ; @hp03_info
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xclr"

	.comm	_GPIOD_OUT_HIGH,4,2             ; @GPIOD_OUT_HIGH
l_.str.1:                               ; @.str.1
	.asciz	"Failed to claim XCLR GPIO\n"

	.comm	_HP03_EEPROM_ADDR,4,2           ; @HP03_EEPROM_ADDR
l_.str.2:                               ; @.str.2
	.asciz	"New EEPROM I2C device failed\n"

	.comm	_hp03_regmap_config,4,2         ; @hp03_regmap_config
l_.str.3:                               ; @.str.3
	.asciz	"Failed to allocate EEPROM regmap\n"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to register IIO device\n"

	.no_dead_strip	_hp03_probe
.subsections_via_symbols
