	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drsmp_set_init                 ## -- Begin function drsmp_set_init
	.p2align	4, 0x90
_drsmp_set_init:                        ## @drsmp_set_init
	.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
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_umad_get_mad
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	$2, (%rbx)
	movslq	%r14d, %rdi
	callq	_htons
	movq	%rax, 40(%rbx)
	movl	%r13d, %edi
	callq	_htonl
	movl	%eax, 36(%rbx)
	movq	_drmad_tid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leal	1(%rdi), %ecx
	movl	%ecx, (%rax)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_htonll
	movl	%eax, 32(%rbx)
	movabsq	$281470681808895, %rax          ## imm = 0xFFFF0000FFFF
	movq	%rax, 4(%rbx)
	movq	%r12, %rdi
	movl	$65535, %esi                    ## imm = 0xFFFF
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_umad_set_addr
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movl	28(%rbx), %edi
	movq	(%r15), %rsi
	movl	8(%r15), %edx
	incl	%edx
	callq	_memcpy
LBB0_2:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movl	24(%rbx), %edi
	movl	$4, %edx
	callq	_memcpy
LBB0_4:
	movslq	8(%r15), %rax
	movq	%rax, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_drmad_tid,4,2                  ## @drmad_tid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drsmp_set_init                 ; -- Begin function drsmp_set_init
	.p2align	2
_drsmp_set_init:                        ; @drsmp_set_init
	.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	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x24, x0
	bl	_umad_get_mad
	mov	x21, x0
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	mov	w8, #2
	str	w8, [x21]
	sxtw	x0, w23
	bl	_htons
	str	x0, [x21, #40]
	mov	x0, x22
	bl	_htonl
	str	w0, [x21, #36]
Lloh0:
	adrp	x8, _drmad_tid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _drmad_tid@GOTPAGEOFF]
	ldr	w0, [x8]
	add	w9, w0, #1
	str	w9, [x8]
	bl	_htonll
	str	w0, [x21, #32]
	movi	d0, #0x00ffff0000ffff
	stur	d0, [x21, #4]
	mov	x0, x24
	mov	w1, #65535
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_umad_set_addr
	cbz	x19, LBB0_2
; %bb.1:
	ldr	w0, [x21, #28]
	ldr	x1, [x19]
	ldr	w8, [x19, #8]
	add	w2, w8, #1
	bl	_memcpy
LBB0_2:
	cbz	x20, LBB0_4
; %bb.3:
	ldr	w0, [x21, #24]
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
LBB0_4:
	ldrsw	x8, [x19, #8]
	str	x8, [x21, #16]
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_drmad_tid,4,2                  ; @drmad_tid
.subsections_via_symbols
