	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function h3a_aewb_set_params
_h3a_aewb_set_params:                   ## @h3a_aewb_set_params
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	16(%rdi), %rbx
	movq	(%rsi), %rcx
	xorl	%eax, %eax
	cmpq	%rcx, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rcx, (%rbx)
	movl	$1, %eax
LBB0_2:
	movq	8(%rsi), %rcx
	cmpq	%rcx, 8(%rbx)
	je	LBB0_4
## %bb.3:
	movq	%rcx, 8(%rbx)
	movl	$1, %eax
LBB0_4:
	movq	16(%rsi), %rcx
	cmpq	%rcx, 16(%rbx)
	je	LBB0_6
## %bb.5:
	movq	%rcx, 16(%rbx)
	movl	$1, %eax
LBB0_6:
	movq	24(%rsi), %rcx
	cmpq	%rcx, 24(%rbx)
	je	LBB0_8
## %bb.7:
	movq	%rcx, 24(%rbx)
	movl	$1, %eax
LBB0_8:
	movq	32(%rsi), %rcx
	cmpq	%rcx, 32(%rbx)
	je	LBB0_10
## %bb.9:
	movq	%rcx, 32(%rbx)
	movl	$1, %eax
LBB0_10:
	movq	40(%rsi), %rcx
	cmpq	%rcx, 40(%rbx)
	je	LBB0_12
## %bb.11:
	movq	%rcx, 40(%rbx)
	movl	$1, %eax
LBB0_12:
	movq	48(%rsi), %rcx
	cmpq	%rcx, 48(%rbx)
	je	LBB0_14
## %bb.13:
	movq	%rcx, 48(%rbx)
	movl	$1, %eax
LBB0_14:
	movq	56(%rsi), %rcx
	cmpq	%rcx, 56(%rbx)
	je	LBB0_16
## %bb.15:
	movq	%rcx, 56(%rbx)
	movl	$1, %eax
LBB0_16:
	movq	64(%rsi), %rcx
	cmpq	%rcx, 64(%rbx)
	je	LBB0_18
## %bb.17:
	movq	%rcx, 64(%rbx)
	movl	$1, %eax
LBB0_18:
	movq	72(%rsi), %rcx
	cmpq	%rcx, 72(%rbx)
	je	LBB0_20
## %bb.19:
	movq	%rcx, 72(%rbx)
	movl	$1, %eax
LBB0_20:
	movq	80(%rsi), %rcx
	cmpq	%rcx, 80(%rbx)
	jne	LBB0_24
## %bb.21:
	movq	88(%rsi), %rcx
	cmpq	%rcx, 88(%rbx)
	jne	LBB0_25
## %bb.22:
	testl	%eax, %eax
	jne	LBB0_26
## %bb.23:
	cmpl	$0, 8(%rdi)
	jne	LBB0_27
	jmp	LBB0_26
LBB0_24:
	movq	%rcx, 80(%rbx)
	movq	88(%rsi), %rcx
	cmpq	%rcx, 88(%rbx)
	je	LBB0_26
LBB0_25:
	leaq	88(%rbx), %rax
	movq	%rcx, (%rax)
LBB0_26:
	incl	4(%rdi)
	movl	$1, (%rdi)
	movq	%rbx, %rdi
	callq	_h3a_aewb_get_buf_size
	movl	%eax, 96(%rbx)
LBB0_27:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_h3a_aewb_set_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function h3a_aewb_set_params
_h3a_aewb_set_params:                   ; @h3a_aewb_set_params
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0, #16]
	ldr	x9, [x19]
	ldr	x8, [x1]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_3
LBB0_2:
	str	x8, [x19]
	mov	w8, #1
LBB0_3:
	ldr	x10, [x19, #8]
	ldr	x9, [x1, #8]
	cmp	x10, x9
	b.eq	LBB0_5
; %bb.4:
	str	x9, [x19, #8]
	mov	w8, #1
LBB0_5:
	ldr	x10, [x19, #16]
	ldr	x9, [x1, #16]
	cmp	x10, x9
	b.eq	LBB0_7
; %bb.6:
	str	x9, [x19, #16]
	mov	w8, #1
LBB0_7:
	ldr	x10, [x19, #24]
	ldr	x9, [x1, #24]
	cmp	x10, x9
	b.eq	LBB0_9
; %bb.8:
	str	x9, [x19, #24]
	mov	w8, #1
LBB0_9:
	ldr	x10, [x19, #32]
	ldr	x9, [x1, #32]
	cmp	x10, x9
	b.eq	LBB0_11
; %bb.10:
	str	x9, [x19, #32]
	mov	w8, #1
LBB0_11:
	ldr	x10, [x19, #40]
	ldr	x9, [x1, #40]
	cmp	x10, x9
	b.eq	LBB0_13
; %bb.12:
	str	x9, [x19, #40]
	mov	w8, #1
LBB0_13:
	ldr	x10, [x19, #48]
	ldr	x9, [x1, #48]
	cmp	x10, x9
	b.eq	LBB0_15
; %bb.14:
	str	x9, [x19, #48]
	mov	w8, #1
LBB0_15:
	ldr	x10, [x19, #56]
	ldr	x9, [x1, #56]
	cmp	x10, x9
	b.eq	LBB0_17
; %bb.16:
	str	x9, [x19, #56]
	mov	w8, #1
LBB0_17:
	ldr	x10, [x19, #64]
	ldr	x9, [x1, #64]
	cmp	x10, x9
	b.eq	LBB0_19
; %bb.18:
	str	x9, [x19, #64]
	mov	w8, #1
LBB0_19:
	ldr	x10, [x19, #72]
	ldr	x9, [x1, #72]
	cmp	x10, x9
	b.eq	LBB0_21
; %bb.20:
	str	x9, [x19, #72]
	mov	w8, #1
LBB0_21:
	ldr	x9, [x19, #80]
	ldr	x10, [x1, #80]
	cmp	x9, x10
	b.ne	LBB0_25
; %bb.22:
	mov	x9, x19
	ldr	x11, [x9, #88]!
	ldr	x10, [x1, #88]
	cmp	x11, x10
	b.ne	LBB0_26
; %bb.23:
	cbnz	w8, LBB0_27
; %bb.24:
	ldr	w8, [x0, #8]
	cbnz	w8, LBB0_28
	b	LBB0_27
LBB0_25:
	mov	x9, x19
	ldr	x8, [x9, #88]!
	stur	x10, [x9, #-8]
	ldr	x10, [x1, #88]
	cmp	x8, x10
	b.eq	LBB0_27
LBB0_26:
	str	x10, [x9]
LBB0_27:
	ldr	w8, [x0, #4]
	add	w8, w8, #1
	mov	w9, #1
	stp	w9, w8, [x0]
	mov	x0, x19
	bl	_h3a_aewb_get_buf_size
	str	w0, [x19, #96]
LBB0_28:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_h3a_aewb_set_params
.subsections_via_symbols
