	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function respip_views_apply_cfg
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_respip_views_apply_cfg
	.p2align	4, 0x90
_respip_views_apply_cfg:                ## @respip_views_apply_cfg
	.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), %rbx
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.1:
	movq	%rdx, %r15
	movq	%rdi, %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%rbx)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_15
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_views_find_view
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_respip_set_create
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %r9
	movq	8(%rbx), %r8
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_respip_set_apply_cfg
	movl	%eax, %r12d
	movq	%r13, %rdi
	addq	$8, %rdi
	callq	_lock_rw_unlock
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movb	$1, %al
	cmpl	$0, (%r15)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rax
	cmpq	$0, (%rax)
	setne	%al
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%al, %eax
	movl	%eax, (%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_16:
	movl	$1, %r14d
	jmp	LBB0_17
LBB0_5:
	movl	16(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_11:
	movl	16(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
LBB0_6:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_log_err
LBB0_17:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_log_err
	addq	$8, %r13
	movq	%r13, %rdi
	callq	_lock_rw_unlock
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"view '%s' unexpectedly missing"

L_.str.1:                               ## @.str.1
	.asciz	"out of memory"

L_.str.2:                               ## @.str.2
	.asciz	"Error while applying respip configuration for view '%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_respip_views_apply_cfg         ; -- Begin function respip_views_apply_cfg
	.p2align	2
_respip_views_apply_cfg:                ; @respip_views_apply_cfg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x23, [x1]
	cbz	x23, LBB0_13
; %bb.1:
	mov	x19, x2
	mov	x20, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	cbnz	x8, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23]
	cbz	x8, LBB0_12
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x23, #16]
	mov	x0, x20
	mov	w2, #1
	bl	_views_find_view
	cbz	x0, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, x0
	ldr	x0, [x0]
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_respip_set_create
	str	x0, [x21]
	cbz	x0, LBB0_19
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldp	x5, x4, [x23]
	mov	x1, #0
	mov	w2, #0
	mov	x3, #0
	bl	_respip_set_apply_cfg
	mov	x22, x0
	add	x0, x21, #8
	bl	_lock_rw_unlock
	cbz	w22, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19]
	cbz	w8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w8, ne
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w8, [x19]
	stp	xzr, xzr, [x23]
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x23, [x23, #24]
	cbnz	x23, LBB0_2
LBB0_13:
	mov	w0, #1
	b	LBB0_18
LBB0_14:
	ldr	w8, [x23, #16]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_16
LBB0_15:
	ldr	w8, [x23, #16]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_16:
	bl	_log_err
LBB0_17:
	mov	w0, #0
LBB0_18:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_19:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_err
	add	x0, x21, #8
	bl	_lock_rw_unlock
	b	LBB0_17
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"view '%s' unexpectedly missing"

l_.str.1:                               ; @.str.1
	.asciz	"out of memory"

l_.str.2:                               ; @.str.2
	.asciz	"Error while applying respip configuration for view '%s'"

.subsections_via_symbols
