	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function anx9805_aux_new
_anx9805_aux_new:                       ## @anx9805_aux_new
	.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	%rcx, %r12
	movl	%esi, %r15d
	callq	_anx9805_pad
	movq	%rax, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rcx
	addq	$4, %rcx
	movq	%rcx, (%r12)
	movq	%r14, 8(%rax)
	movq	%r14, %rsi
	addq	$4, %rsi
	movq	_anx9805_aux_func@GOTPCREL(%rip), %rdi
	movl	%r15d, %edx
	callq	_nvkm_i2c_aux_ctor
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movl	(%r14), %eax
	cmpl	$59, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$57, %eax
	jne	LBB0_7
## %bb.5:
	movl	$56, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	$60, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	movq	_ENOSYS@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_anx9805_aux_func,4,2           ## @anx9805_aux_func
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.no_dead_strip	_anx9805_aux_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function anx9805_aux_new
_anx9805_aux_new:                       ; @anx9805_aux_new
	.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	x22, x3
	mov	x21, x1
	bl	_anx9805_pad
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	add	x3, x0, #4
	str	x3, [x22]
	str	x20, [x0, #8]
	add	x1, x20, #4
Lloh3:
	adrp	x0, _anx9805_aux_func@GOTPAGE
Lloh4:
	ldr	x0, [x0, _anx9805_aux_func@GOTPAGEOFF]
	mov	x2, x21
	bl	_nvkm_i2c_aux_ctor
	cbnz	w0, LBB0_7
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #59
	b.eq	LBB0_8
; %bb.3:
	cmp	w8, #57
	b.ne	LBB0_9
; %bb.4:
	mov	w0, #0
	mov	w8, #56
	str	w8, [x19]
	b	LBB0_7
LBB0_5:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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_8:
	mov	w0, #0
	mov	w8, #60
	str	w8, [x19]
	b	LBB0_7
LBB0_9:
Lloh7:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_anx9805_aux_func,4,2           ; @anx9805_aux_func
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.no_dead_strip	_anx9805_aux_new
.subsections_via_symbols
