	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function res_get
_res_get:                               ## @res_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movl	$1, %eax
	testl	%esi, %ecx
	je	LBB0_1
LBB0_3:
	popq	%rbp
	retq
LBB0_1:
	movq	8(%rdi), %r8
	movl	(%r8), %edx
	xorl	%eax, %eax
	testl	%esi, %edx
	jne	LBB0_3
## %bb.2:
	orl	%esi, %ecx
	movl	%ecx, (%rdi)
	orl	%esi, %edx
	movl	%edx, (%r8)
	leaq	L_.str(%rip), %rdi
	callq	_em28xx_videodbg
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"res: get %d\n"

	.no_dead_strip	_res_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function res_get
_res_get:                               ; @res_get
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
	tst	w8, w1
	b.eq	LBB0_2
LBB0_1:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x9, [x0, #8]
	ldr	w10, [x9]
	tst	w10, w1
	b.eq	LBB0_4
; %bb.3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	orr	w8, w8, w1
	str	w8, [x0]
	orr	w8, w10, w1
	str	w8, [x9]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_em28xx_videodbg
	b	LBB0_1
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"res: get %d\n"

	.no_dead_strip	_res_get
.subsections_via_symbols
