	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pkt_sys_unset_resource         ## -- Begin function pkt_sys_unset_resource
	.p2align	4, 0x90
_pkt_sys_unset_resource:                ## @pkt_sys_unset_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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	$16, 8(%rdi)
	movq	_HFI_CMD_SYS_RELEASE_RESOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rdi)
	movq	%rcx, %rdi
	callq	_hash32_ptr
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
	leal	-128(%r14), %ecx
	cmpl	$2, %ecx
	jae	LBB0_1
## %bb.4:
	movq	_HFI_RESOURCE_OCMEM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_3
LBB0_1:
	cmpl	$130, %r14d
	je	LBB0_3
## %bb.2:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HFI_CMD_SYS_RELEASE_RESOURCE,4,2 ## @HFI_CMD_SYS_RELEASE_RESOURCE
	.comm	_HFI_RESOURCE_OCMEM,4,2         ## @HFI_RESOURCE_OCMEM
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pkt_sys_unset_resource         ; -- Begin function pkt_sys_unset_resource
	.p2align	2
_pkt_sys_unset_resource:                ; @pkt_sys_unset_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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _HFI_CMD_SYS_RELEASE_RESOURCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HFI_CMD_SYS_RELEASE_RESOURCE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #16
	stp	w9, w8, [x0, #8]
	mov	x0, x3
	bl	_hash32_ptr
	str	w0, [x19, #4]
	sub	w8, w20, #128
	cmp	w8, #2
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #0
Lloh3:
	adrp	x8, _HFI_RESOURCE_OCMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HFI_RESOURCE_OCMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_5
LBB0_2:
	cmp	w20, #130
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HFI_CMD_SYS_RELEASE_RESOURCE,4,2 ; @HFI_CMD_SYS_RELEASE_RESOURCE
	.comm	_HFI_RESOURCE_OCMEM,4,2         ; @HFI_RESOURCE_OCMEM
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
.subsections_via_symbols
