	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phm_set_field_to_u32           ## -- Begin function phm_set_field_to_u32
	.p2align	4, 0x90
_phm_set_field_to_u32:                  ## @phm_set_field_to_u32
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	3(%rdi), %eax
	testl	%edi, %edi
	cmovnsl	%edi, %eax
	movl	%ecx, %r8d
	andl	$28, %eax
	subl	%eax, %edi
	leal	(,%rdi,8), %ecx
	movl	$255, %edi
	shll	%cl, %edi
	cmpl	$4, %r8d
	notl	%edi
	movl	$-1, %eax
	cmovel	%edi, %eax
	andl	%esi, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	orl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phm_set_field_to_u32           ; -- Begin function phm_set_field_to_u32
	.p2align	2
_phm_set_field_to_u32:                  ; @phm_set_field_to_u32
	.cfi_startproc
; %bb.0:
	negs	w8, w0
	and	w8, w8, #0x3
	and	w9, w0, #0x3
	csneg	w8, w9, w8, mi
	lsl	w8, w8, #3
	mov	w9, #255
	lsl	w9, w9, w8
	cmp	w3, #4
	mov	w10, #-1
	csinv	w9, w10, w9, ne
	and	w9, w9, w1
	lsl	w8, w2, w8
	orr	w0, w9, w8
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
