	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8739_probe
_wm8739_probe:                          ## @wm8739_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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	movq	_I2C_FUNC_SMBUS_BYTE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movl	(%rbx), %edx
	addl	%edx, %edx
	movq	8(%rbx), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_v4l_info
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	leaq	32(%rax), %r14
	movq	_wm8739_ops@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_v4l2_i2c_subdev_init
	leaq	4(%r12), %r15
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_AUDIO_VOLUME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$50736, (%rsp)                  ## imm = 0xC630
	movq	_wm8739_ctrl_ops@GOTPCREL(%rip), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$65535, %r8d                    ## imm = 0xFFFF
	movl	$655, %r9d                      ## imm = 0x28F
	callq	_v4l2_ctrl_new_std
	movq	%rax, 8(%r12)
	movq	_V4L2_CID_AUDIO_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 24(%r12)
	movq	_V4L2_CID_AUDIO_BALANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32768, (%rsp)                  ## imm = 0x8000
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$65535, %r8d                    ## imm = 0xFFFF
	movl	$655, %r9d                      ## imm = 0x28F
	callq	_v4l2_ctrl_new_std
	movq	%rax, 16(%r12)
	movq	%r15, 32(%r12)
	movl	4(%r12), %ebx
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_v4l2_ctrl_handler_free
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_8
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_7:
	movq	%r12, %rsi
	addq	$8, %rsi
	movl	$3, %edi
	callq	_v4l2_ctrl_cluster
	movl	$48000, (%r12)                  ## imm = 0xBB80
	movq	_R15@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wm8739_write
	movq	_R5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wm8739_write
	movq	_R6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wm8739_write
	movq	_R7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$73, %edx
	callq	_wm8739_write
	movq	_R8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wm8739_write
	movq	_R9@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_wm8739_write
	movq	%r15, %rdi
	callq	_v4l2_ctrl_handler_setup
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ## @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"chip found @ 0x%x (%s)\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_wm8739_ops,4,2                 ## @wm8739_ops
	.comm	_wm8739_ctrl_ops,4,2            ## @wm8739_ctrl_ops
	.comm	_V4L2_CID_AUDIO_VOLUME,4,2      ## @V4L2_CID_AUDIO_VOLUME
	.comm	_V4L2_CID_AUDIO_MUTE,4,2        ## @V4L2_CID_AUDIO_MUTE
	.comm	_V4L2_CID_AUDIO_BALANCE,4,2     ## @V4L2_CID_AUDIO_BALANCE
	.comm	_R15,4,2                        ## @R15
	.comm	_R5,4,2                         ## @R5
	.comm	_R6,4,2                         ## @R6
	.comm	_R7,4,2                         ## @R7
	.comm	_R8,4,2                         ## @R8
	.comm	_R9,4,2                         ## @R9
	.no_dead_strip	_wm8739_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8739_probe
_wm8739_probe:                          ; @wm8739_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	x19, x0
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_check_functionality
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w8, [x19]
	lsl	w2, w8, #1
	ldr	x8, [x19, #8]
	ldr	w3, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_v4l_info
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	add	x20, x0, #32
Lloh8:
	adrp	x2, _wm8739_ops@GOTPAGE
Lloh9:
	ldr	x2, [x2, _wm8739_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x19
	bl	_v4l2_i2c_subdev_init
	add	x19, x21, #4
	mov	x0, x19
	mov	w1, #2
	bl	_v4l2_ctrl_handler_init
Lloh10:
	adrp	x8, _V4L2_CID_AUDIO_VOLUME@GOTPAGE
Lloh11:
	ldr	x8, [x8, _V4L2_CID_AUDIO_VOLUME@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x23, _wm8739_ctrl_ops@GOTPAGE
Lloh14:
	ldr	x23, [x23, _wm8739_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x23
	mov	w3, #0
	mov	w4, #65535
	mov	w5, #655
	mov	w6, #50736
	bl	_v4l2_ctrl_new_std
	mov	x22, x21
	str	x0, [x22, #8]!
Lloh15:
	adrp	x8, _V4L2_CID_AUDIO_MUTE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _V4L2_CID_AUDIO_MUTE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x23
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x22, #16]
Lloh18:
	adrp	x8, _V4L2_CID_AUDIO_BALANCE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _V4L2_CID_AUDIO_BALANCE@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x23
	mov	w3, #0
	mov	w4, #65535
	mov	w5, #655
	mov	w6, #32768
	bl	_v4l2_ctrl_new_std
	str	x0, [x22, #8]
	str	x19, [x21, #32]
	ldr	w23, [x21, #4]
	cbz	w23, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_v4l2_ctrl_handler_free
	mov	x0, x21
	bl	_kfree
	b	LBB0_8
LBB0_4:
Lloh21:
	adrp	x8, _EIO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_8
LBB0_7:
	mov	w0, #3
	mov	x1, x22
	bl	_v4l2_ctrl_cluster
	mov	w8, #48000
	str	w8, [x21]
Lloh25:
	adrp	x8, _R15@GOTPAGE
Lloh26:
	ldr	x8, [x8, _R15@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wm8739_write
Lloh28:
	adrp	x8, _R5@GOTPAGE
Lloh29:
	ldr	x8, [x8, _R5@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wm8739_write
Lloh31:
	adrp	x8, _R6@GOTPAGE
Lloh32:
	ldr	x8, [x8, _R6@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wm8739_write
Lloh34:
	adrp	x8, _R7@GOTPAGE
Lloh35:
	ldr	x8, [x8, _R7@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #73
	bl	_wm8739_write
Lloh37:
	adrp	x8, _R8@GOTPAGE
Lloh38:
	ldr	x8, [x8, _R8@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wm8739_write
Lloh40:
	adrp	x8, _R9@GOTPAGE
Lloh41:
	ldr	x8, [x8, _R9@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #1
	bl	_wm8739_write
	mov	x0, x19
	bl	_v4l2_ctrl_handler_setup
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ; @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"chip found @ 0x%x (%s)\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_wm8739_ops,4,2                 ; @wm8739_ops
	.comm	_wm8739_ctrl_ops,4,2            ; @wm8739_ctrl_ops
	.comm	_V4L2_CID_AUDIO_VOLUME,4,2      ; @V4L2_CID_AUDIO_VOLUME
	.comm	_V4L2_CID_AUDIO_MUTE,4,2        ; @V4L2_CID_AUDIO_MUTE
	.comm	_V4L2_CID_AUDIO_BALANCE,4,2     ; @V4L2_CID_AUDIO_BALANCE
	.comm	_R15,4,2                        ; @R15
	.comm	_R5,4,2                         ; @R5
	.comm	_R6,4,2                         ; @R6
	.comm	_R7,4,2                         ; @R7
	.comm	_R8,4,2                         ; @R8
	.comm	_R9,4,2                         ; @R9
	.no_dead_strip	_wm8739_probe
.subsections_via_symbols
