	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_ssnmap_free               ## -- Begin function sctp_ssnmap_free
	.p2align	4, 0x90
_sctp_ssnmap_free:                      ## @sctp_ssnmap_free
	.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
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_6
## %bb.2:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_sctp_ssnmap_size
	movq	_MAX_KMALLOC_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_3
## %bb.4:
	movl	%eax, %edi
	callq	_get_order
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_free_pages
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_5:
	movq	_ssnmap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_SCTP_DBG_OBJCNT_DEC            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_KMALLOC_SIZE,4,2           ## @MAX_KMALLOC_SIZE
	.comm	_ssnmap,4,2                     ## @ssnmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_ssnmap_free               ; -- Begin function sctp_ssnmap_free
	.p2align	2
_sctp_ssnmap_free:                      ; @sctp_ssnmap_free
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldp	w1, w0, [x19]
	bl	_sctp_ssnmap_size
Lloh0:
	adrp	x8, _MAX_KMALLOC_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_KMALLOC_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_5
; %bb.3:
	bl	_get_order
	mov	x1, x0
	mov	x0, x19
	bl	_free_pages
	b	LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	bl	_kfree
LBB0_6:
Lloh3:
	adrp	x8, _ssnmap@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ssnmap@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SCTP_DBG_OBJCNT_DEC
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_KMALLOC_SIZE,4,2           ; @MAX_KMALLOC_SIZE
	.comm	_ssnmap,4,2                     ; @ssnmap
.subsections_via_symbols
