	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_ps_display                 ## -- Begin function set_ps_display
	.p2align	4, 0x90
_set_ps_display:                        ## @set_ps_display
	.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
	movq	_update_process_title@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	je	LBB0_3
## %bb.1:
	movq	_IsUnderPostmaster@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	%rdi, %rax
	movq	_ps_buffer@GOTPCREL(%rip), %rbx
	movq	_ps_buffer_fixed_size@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rbx), %rdi
	addq	%rcx, %rdi
	movq	_ps_buffer_size@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	subq	%rcx, %rdx
	movq	%rax, %rsi
	callq	_strlcpy
	movq	(%rbx), %rdi
	callq	_strlen
	movq	_ps_buffer_cur_len@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_update_process_title,4,2       ## @update_process_title
	.comm	_IsUnderPostmaster,4,2          ## @IsUnderPostmaster
	.comm	_ps_buffer,8,3                  ## @ps_buffer
	.comm	_ps_buffer_fixed_size,8,3       ## @ps_buffer_fixed_size
	.comm	_ps_buffer_size,8,3             ## @ps_buffer_size
	.comm	_ps_buffer_cur_len,8,3          ## @ps_buffer_cur_len
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_INVALID_HANDLE_VALUE,8,3       ## @INVALID_HANDLE_VALUE
	.comm	_MyProcPid,4,2                  ## @MyProcPid
	.comm	_PSTAT_SETCMD,4,2               ## @PSTAT_SETCMD
	.comm	_PS_BUFFER_SIZE,4,2             ## @PS_BUFFER_SIZE
	.comm	_PS_PADDING,4,2                 ## @PS_PADDING
	.comm	_PS_STRINGS,8,3                 ## @PS_STRINGS
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_last_status_len,8,3            ## @last_status_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_ps_display                 ; -- Begin function set_ps_display
	.p2align	2
_set_ps_display:                        ; @set_ps_display
	.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
Lloh0:
	adrp	x9, _update_process_title@GOTPAGE
Lloh1:
	ldr	x9, [x9, _update_process_title@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w9, w1, w9
Lloh3:
	adrp	x10, _IsUnderPostmaster@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IsUnderPostmaster@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, #0
	ccmp	w10, #0, #4, ne
	b.eq	LBB0_2
; %bb.1:
	mov	x8, x0
Lloh6:
	adrp	x19, _ps_buffer@GOTPAGE
Lloh7:
	ldr	x19, [x19, _ps_buffer@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh8:
	adrp	x10, _ps_buffer_fixed_size@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ps_buffer_fixed_size@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	add	x0, x10, x9
Lloh11:
	adrp	x9, _ps_buffer_size@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ps_buffer_size@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	sub	x2, x9, x10
	mov	x1, x8
	bl	_strlcpy
	ldr	x0, [x19]
	bl	_strlen
Lloh14:
	adrp	x8, _ps_buffer_cur_len@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ps_buffer_cur_len@GOTPAGEOFF]
Lloh16:
	str	x0, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_update_process_title,4,2       ; @update_process_title
	.comm	_IsUnderPostmaster,4,2          ; @IsUnderPostmaster
	.comm	_ps_buffer,8,3                  ; @ps_buffer
	.comm	_ps_buffer_fixed_size,8,3       ; @ps_buffer_fixed_size
	.comm	_ps_buffer_size,8,3             ; @ps_buffer_size
	.comm	_ps_buffer_cur_len,8,3          ; @ps_buffer_cur_len
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_INVALID_HANDLE_VALUE,8,3       ; @INVALID_HANDLE_VALUE
	.comm	_MyProcPid,4,2                  ; @MyProcPid
	.comm	_PSTAT_SETCMD,4,2               ; @PSTAT_SETCMD
	.comm	_PS_BUFFER_SIZE,4,2             ; @PS_BUFFER_SIZE
	.comm	_PS_PADDING,4,2                 ; @PS_PADDING
	.comm	_PS_STRINGS,8,3                 ; @PS_STRINGS
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_last_status_len,8,3            ; @last_status_len
.subsections_via_symbols
