	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function res_write_padding
_res_write_padding:                     ## @res_write_padding
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	cmpl	$16, %esi
	jae	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_2:
	movslq	%r15d, %rax
	shrq	$4, %rax
	cmpq	$2, %rax
	movl	$1, %r13d
	cmovaeq	%rax, %r13
	leaq	_res_write_padding.pad(%rip), %r12
	movq	%r13, %rax
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$16, %edx
	callq	_memcpy
	addq	$16, %rbx
	decq	%r13
	jne	LBB0_3
## %bb.4:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	shlq	$4, %rax
LBB0_5:
	addq	%rax, %r14
	andl	$15, %r15d
	leaq	_res_write_padding.pad(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @res_write_padding.pad
_res_write_padding.pad:
	.ascii	"PADDINGXXPADDING"

	.no_dead_strip	_res_write_padding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function res_write_padding
_res_write_padding:                     ; @res_write_padding
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	cmp	w1, #16
	b.hs	LBB0_2
; %bb.1:
	mov	x8, #0
	b	LBB0_5
LBB0_2:
	sxtw	x8, w19
	lsr	x8, x8, #4
	cmp	x8, #1
	csinc	x23, x8, xzr, hi
Lloh0:
	adrp	x21, _res_write_padding.pad@PAGE
Lloh1:
	add	x21, x21, _res_write_padding.pad@PAGEOFF
	mov	x24, x23
	mov	x22, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	w2, #16
	bl	_memcpy
	add	x22, x22, #16
	subs	x24, x24, #1
	b.ne	LBB0_3
; %bb.4:
	ubfiz	x8, x23, #4, #32
LBB0_5:
	add	x0, x20, x8
	and	w2, w19, #0xf
Lloh2:
	adrp	x1, _res_write_padding.pad@PAGE
Lloh3:
	add	x1, x1, _res_write_padding.pad@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_memcpy
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_res_write_padding.pad:                 ; @res_write_padding.pad
	.ascii	"PADDINGXXPADDING"

	.no_dead_strip	_res_write_padding
.subsections_via_symbols
