	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx18_gpio_register             ## -- Begin function cx18_gpio_register
	.p2align	4, 0x90
_cx18_gpio_register:                    ## @cx18_gpio_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	cmpl	$128, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$129, %r14d
	jne	LBB0_3
## %bb.2:
	leaq	16(%r15), %rbx
	leaq	L_.str(%rip), %r12
	movq	_gpiomux_ops@GOTPCREL(%rip), %rsi
	jmp	LBB0_5
LBB0_4:
	leaq	8(%r15), %rbx
	leaq	L_.str.1(%rip), %r12
	movq	_resetctrl_ops@GOTPCREL(%rip), %rsi
LBB0_5:
	movq	%rbx, %rdi
	callq	_v4l2_subdev_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_v4l2_set_subdevdata
	movl	4(%rbx), %edi
	movq	(%r15), %rcx
	leaq	L_.str.2(%rip), %rdx
	movl	$4, %esi
	movq	%r12, %r8
	callq	_snprintf
	movl	%r14d, (%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_v4l2_device_register_subdev    ## TAILCALL
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gpiomux_ops,4,2                ## @gpiomux_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gpio-mux"

	.comm	_resetctrl_ops,4,2              ## @resetctrl_ops
L_.str.1:                               ## @.str.1
	.asciz	"gpio-reset-ctrl"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"%s %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx18_gpio_register             ; -- Begin function cx18_gpio_register
	.p2align	2
_cx18_gpio_register:                    ; @cx18_gpio_register
	.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	x20, x1
	mov	x19, x0
	cmp	w1, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w20, #129
	b.ne	LBB0_5
; %bb.2:
	add	x21, x19, #16
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
Lloh2:
	adrp	x1, _gpiomux_ops@GOTPAGE
Lloh3:
	ldr	x1, [x1, _gpiomux_ops@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	add	x21, x19, #8
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh6:
	adrp	x1, _resetctrl_ops@GOTPAGE
Lloh7:
	ldr	x1, [x1, _resetctrl_ops@GOTPAGEOFF]
LBB0_4:
	mov	x0, x21
	bl	_v4l2_subdev_init
	mov	x0, x21
	mov	x1, x19
	bl	_v4l2_set_subdevdata
	ldr	w0, [x21, #4]
	ldr	x3, [x19]
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #4
	mov	x4, x22
	bl	_snprintf
	str	w20, [x21]
	mov	x0, x19
	mov	x1, x21
	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
	b	_v4l2_device_register_subdev
LBB0_5:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_gpiomux_ops,4,2                ; @gpiomux_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gpio-mux"

	.comm	_resetctrl_ops,4,2              ; @resetctrl_ops
l_.str.1:                               ; @.str.1
	.asciz	"gpio-reset-ctrl"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"%s %s"

.subsections_via_symbols
