	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_print_resource                 ## -- Begin function print_resource
	.p2align	4, 0x90
_print_resource:                        ## @print_resource
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	callq	_devinfo_handle_to_rman
	movl	(%rax), %eax
	cmpl	$1001, %eax                     ## imm = 0x3E9
	setge	%cl
	testl	%eax, %eax
	sete	%bl
	orb	%cl, %bl
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmovneq	%rax, %rdi
	movl	(%r14), %esi
	callq	_printf
	movl	4(%r14), %eax
	cmpl	$2, %eax
	jl	LBB0_1
## %bb.2:
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.3(%rip), %rdi
	testb	%bl, %bl
	cmovneq	%rcx, %rdi
	movl	(%r14), %ecx
	leal	(%rax,%rcx), %esi
	decl	%esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_printf                         ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x%jx"

L_.str.1:                               ## @.str.1
	.asciz	"%ju"

L_.str.2:                               ## @.str.2
	.asciz	"-0x%jx"

L_.str.3:                               ## @.str.3
	.asciz	"-%ju"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_print_resource                 ; -- Begin function print_resource
	.p2align	2
_print_resource:                        ; @print_resource
	.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
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_devinfo_handle_to_rman
	ldr	w8, [x0]
	cmp	w8, #1000
	ccmp	w8, #0, #4, le
	cset	w20, eq
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str@PAGE
Lloh3:
	add	x9, x9, l_.str@PAGEOFF
	csel	x0, x9, x8, eq
	ldr	w1, [x19]
	bl	_printf
	ldr	w8, [x19, #4]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh4:
	adrp	x9, l_.str.3@PAGE
Lloh5:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh6:
	adrp	x10, l_.str.2@PAGE
Lloh7:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w20, #0
	csel	x0, x10, x9, ne
	ldr	w9, [x19]
	add	w8, w8, w9
	sub	w1, w8, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_printf
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x%jx"

l_.str.1:                               ; @.str.1
	.asciz	"%ju"

l_.str.2:                               ; @.str.2
	.asciz	"-0x%jx"

l_.str.3:                               ; @.str.3
	.asciz	"-%ju"

.subsections_via_symbols
